Skip to content

Instantly share code, notes, and snippets.

@Daniel-Wiedemann
Last active August 29, 2015 14:19
Show Gist options
  • Save Daniel-Wiedemann/22d68068a86bfe814094 to your computer and use it in GitHub Desktop.
Save Daniel-Wiedemann/22d68068a86bfe814094 to your computer and use it in GitHub Desktop.
Pinterest API - Abfrage der Pins
GET Abfrage:
https://api.pinterest.com/v3/pidgets/boards/<USER_NAME>/<BOARD>/pins/
https://api.pinterest.com/v3/pidgets/boards/mediatrash/nice-webpages/pins/
Links dazu:
http://techslides.com/using-the-pinterest-api
http://zoerooney.com/blog/tutorials/display-a-pinterest-feed-almost-anywhere-via-rss/
http://pinterestapi.co.uk/
Rückgabe ist ein JSON
z.B.
{
"status": "success",
"code": 0,
"host": "ngapi2-cafea99a",
"generated_at": "Wed, 22 Apr 2015 09:08:56 +0000",
"message": "OK",
"data": {
"pins": [
{
"attribution": null,
"description": "Coole CSS animierte Seite.",
"pinner": {
"about": "",
"location": "",
"full_name": "mediatrash",
"follower_count": 1,
"image_small_url": "http://passets-ak.pinterest.com/images/user/default_30.png",
"pin_count": 3,
"id": "332562891142116948",
"profile_url": "http://www.pinterest.com/mediatrash/"
},
"repin_count": 0,
"dominant_color": "#9fa3b4",
"like_count": 0,
"link": "http://www.species-in-pieces.com/",
"images": {
"237x": {
"url": "http://media-cache-ec0.pinimg.com/237x/db/a9/63/dba963dc6ad1297fc73038f12cec1c12.jpg",
"width": 237,
"height": 124
}
},
"embed": null,
"is_video": false,
"id": "332562753709797869"
},
{
"attribution": null,
"description": "PI",
"pinner": {
"about": "",
"location": "",
"full_name": "mediatrash",
"follower_count": 1,
"image_small_url": "http://passets-ak.pinterest.com/images/user/default_30.png",
"pin_count": 3,
"id": "332562891142116948",
"profile_url": "http://www.pinterest.com/mediatrash/"
},
"repin_count": 0,
"dominant_color": "#231f20",
"like_count": 0,
"link": "http://www.thankgoditspiday.com/",
"images": {
"237x": {
"url": "http://media-cache-ak0.pinimg.com/237x/52/c3/d3/52c3d36ad565f4f7ba690ffd7159408c.jpg",
"width": 237,
"height": 125
}
},
"embed": null,
"is_video": false,
"id": "332562753709797854"
}
],
"user": {
"about": "",
"location": "",
"full_name": "mediatrash",
"follower_count": 1,
"image_small_url": "http://passets-ak.pinterest.com/images/user/default_30.png",
"pin_count": 3,
"id": "332562891142116948",
"profile_url": "http://www.pinterest.com/mediatrash/"
},
"board": {
"description": "Schöne Websites mit tollen Animationen oder Effekten.",
"url": "/mediatrash/nice-webpages/",
"follower_count": 1,
"image_thumbnail_url": "http://media-cache-ec0.pinimg.com/upload/332562822422877322_board_thumbnail_2015-03-18-09-04-39_99063_60.jpg",
"pin_count": 2,
"id": "332562822422877322",
"name": "NICE Webpages"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment