Programing

pinterest api 문서

lottogame 2020. 8. 25. 19:20
반응형

pinterest api 문서


2015 년 8 월 업데이트 : Pinterest는 지금 여기에서 제공합니다 https://dev.pinterest.com/

v2 Pinterest API에 대한 공식 또는 비공식 문서가 있습니까?

내가 아는 것 :

2014 년 3 월 4 일 업데이트 Pinterest는 액세스를 요청할 수있는 베타 v3 API를 공개했습니다. 페이지를 아래로 스크롤하면 왼쪽 열에 나열된 엔드 포인트가 표시됩니다. https://developers.pinterest.com/api_docs/

2013 년 1 월 9 일 업데이트 https://api.pinterest.com/v2 가 404를 제공하기 때문에 v3로 옮겨진 것 같습니다. https://api.pinterest.com/v3

{ "status": "failure", "code": 11, "host": "053", "generated_at": "Wed, 09 Jan 2013 10:25:27 +0000", "message": "API method not found.", "data": null }

2012 년 11 월 19 일 업데이트 http://tijn.bo.lt/pinterest-api 의 비공식 api 문서 가 전체 웹 사이트와 함께 사라졌습니다. 다시 온라인 상태가 될 수 있으므로이 게시물에 링크를 남겨 둡니다. 여전히 Pinterest에서 개발자에게 API 상태에 대한 소식이 없습니다.

2012 년 5 월 22 일 업데이트 Pinterest는 아직 공개 API를 제공하지 않았습니다. 사람들은 iOS 앱에서 사용할 수있는 iPhone 사용자 에이전트로 api 엔드 포인트에 연결하고 있습니다.

2012 년 4 월 17 일 업데이트 tijn 덕분에 비공식 버전 1 (현재 v2) Pinterest api 문서 가 있으며 현재 읽기 엔드 포인트 만 사용할 수 있다는 보고서가있어 RSS 스타일 피드가 속도 제한 내에서 가능합니다.

업데이트 2012 년 4 월 3 일 비공식 페이스 북 그룹에 대한 양질의 정보가 있으며 여러 사람이 질문을하고 상당히 유용한 답변을 게시합니다.


현재 Pinterest에 사용할 수있는 공식 API 문서없습니다 .

하지만 v2에 대한 비공식 문서가 여기에 있습니다 : http://tijn.bo.lt/pinterest-api


Pinterest API의 현재 상태에 대한 업데이트를 제공하고 싶습니다.

여전히 사용 가능한 공개 API가 없습니다. Pinterest는 또한 사이트에 대한 액세스를 신청하는 사람을 승인하지 않는 것 같습니다.

현재 Pinterest v3 API의 엔드 포인트는 공식 문서가 없지만 거의 완성되었습니다. 다음은 사용 가능한 엔드 포인트 유형에 대한 간략한 목록입니다.

https://api.pinterest.com/v3/users/
https://api.pinterest.com/v3/search/
https://api.pinterest.com/v3/domains/
https://api.pinterest.com/v3/categories/
https://api.pinterest.com/v3/oauth/
https://api.pinterest.com/v3/boards/
https://api.pinterest.com/v3/pins/
https://api.pinterest.com/v3/batch/
https://api.pinterest.com/v3/login/

위의 각 엔드 포인트에 대한 많은 하위 엔드 포인트를 발견 할 수 있습니다. 사용 가능한 많은 엔드 포인트 목록이 있지만 공개되지 않으므로 여기에 게시하지 않을 것입니다 (힌트 : 대부분은 추측하기 쉽습니다). 위의 모든 엔드 포인트에는 로그인 엔드 포인트를 제외하고 access_token 매개 변수가 필요합니다.

유효한 access_token을 생성하려면 개발자는 Pinterest가 현재 거의 불가능하다는 것을 알고있는 API에 대한 액세스 권한을 부여 받아야합니다.

또 다른 옵션은 /v3/loginPinterest 사용자 이름과 비밀번호로 엔드 포인트 에 대한 로그인 작업을 시뮬레이션하는 스크립트를 작성하는 것 입니다. 요청이 성공하면 access_token을 반환합니다. 이것은 공개 API의 일부가 아니며 모바일 앱에서 Pinterest에 로그인하는 사용자만을위한 것이기 때문에 어떻게 수행되는지에 대해서는 자세히 설명하지 않습니다.

그러나 iPhone 용 Pinterest와 같이 Pinterest에서 승인 한 기존 앱에 대해 Pinterest 계정에 대한 액세스 토큰을 생성 할 수 있습니다 .

https://www.pinterest.com/oauth/?consumer_id=1431594&response_type=token

URL의 해시에 access_token이 반환되는 것을 볼 수 있습니다. 이제이 access_token을 사용하여 엔드 포인트로 플레이 할 수 있으며 1 개월 동안 유효합니다. 그들을 발견하는 재미를!

공개적이고 access_token이 필요하지 않은 엔드 포인트 :

알려진 사용자 이름과 알려진 보드 이름이있는 핀 :

https://api.pinterest.com/v3/pidgets/boards/ [사용자 이름] / [보드 _ 이름] / pins /

알려진 사용자 이름을 가진 핀 :

https://api.pinterest.com/v3/pidgets/users/ [사용자 이름] / pins /

(a) 특정 핀의 정보 검색 :

http://api.pinterest.com/v3/pidgets/pins/info/?pin_ids=521150988102375972,10133167885969245

핀 수를 세십시오.

http://api.pinterest.com/v1/urls/count.json?url=[urlEncodedLink]


2012 년 6 월 11 일 현재 공식적으로 출시 된 Pinterest 용 API는 없습니다. 클립 서비스 지원 페이지는 공식적으로 해제 될 때 폼에 대한 링크 통지해야합니다.


당분간 스크레이퍼에 대한 Pinterest API확인하십시오 .


여전히 관심이있는 사람이라면 분명히 형식의 URL

https://widgets.pinterest.com/v3/pidgets/users/{{ USER }}/pins

will return a nice payload of information, including user info.


There's an unofficial Pinterest API in Mashape - https://www.mashape.com/ismaelc/pinterest-1#!documentation

Screenshot below:

enter image description here

And here's another one that might be worth looking at (uses PhantomJSCloud API) - https://www.mashape.com/novaleaf/pinterest-to-json#!documentation

Sample response looks like this:

{
  "pinterest_parser": {
    "boards": [
      {
        "boardCover": {
          "alt": "Stuff We Love / by Etsy",
          "src": "http://media-cache-ak0.pinimg.com/custom_covers/216x146/155303955839058075_1385935738.jpg"
        },
        "boardThumbs": [
          {
            "alt": "",
            "src": "http://media-cache-ec0.pinimg.com/45x45/eb/90/3d/eb903ddac82981f34f2071753ec2d9ac.jpg"
          },
          {
            "alt": "",
            "src": "http://media-cache-ec0.pinimg.com/45x45/01/54/79/015479f7d193838cab29334953416cf2.jpg"
          },
          {
            "alt": "",
            "src": "http://media-cache-ec0.pinimg.com/45x45/79/11/36/7911362bd2fb73a2b2edf8427e944c69.jpg"
          },
          {
            "alt": "",
            "src": "http://media-cache-ak0.pinimg.com/45x45/1b/a8/66/1ba866bdc7a4e4ee0d99fc838be1b2bb.jpg"
           }
        ],
        "href": "/etsy/products-i-love/",
        "pins": "690",
        "title": "Stuff We Love\n                            Etsy"
      },
...

The question is quite old, but if anyone is still interested in an up-to-date answer: Pinterest has finally launched an official API, including an SDK for Javascript, Android and iOS.

I've been working on a PHP wrapper for it and noticed that not every endpoint in the documentation is working properly, but most of the things are working.


iv got a simple and quick way to post to Pinterest but unfortunately at this time it will only post a pin to a board and give the user the option to view their profile.

Im a iOS developer using Titanium Studio, build: 3.0.1.20.

var webView = Ti.UI.createWebView({
    url : 'http://pinterest.com/pin/create/button/?url='ADD WEBSITE URL HERE '&media='ADD PICTURE URL HERE'&description=ADD DESCRIPTION HERE',
    top : offset,
    right : offset,
    bottom : offset,
    left : offset,
    autoDetect : [Ti.UI.iOS.AUTODETECT_NONE]
});

It seems that https://api.pinterest.com/v3/pins/jphellemons/

gives this message:

{
    "status": "failure", 
    "code": 2, 
    "host": "ngapi-10430284",  
    "generated_at": "Wed, 26 Jun 2013 14:56:44 +0000", 
    "message": "Authentication failed.", 
    "data": null
}

and url https://api.pinterest.com/v3/pins/ gives

{
    "status": "failure", 
    "code": 5, 
    "host": "ngapi-70bcb1cc", 
    "generated_at": "Wed, 26 Jun 2013 15:01:07 +0000", 
    "message": "Method not allowed", 
    "data": "405 Method Not Allowed"
}

So the upcoming API will be at that url I guess. Just authenticate with oAuth I guess. Because they hired John Yi recently

if you cannot wait for the official api: http://pinterestapi.co.uk/

update 18 june http://readwrite.com/2013/06/18/the-disappointing-tale-of-pinterests-long-awaited-api#awesm=~oeF8IxscKLvPhN

update 31 july http://allthingsd.com/20130731/about-that-pinterest-api-its-not-ready-yet/


This is the official documentation for pinterest i found, And it helps may i hope it will help u also Official documentation

https://api.pinterest.com/v1/pins/431430839282408407/?access_token=aaa
https://api.pinterest.com/v1/boards/lorihiney/quotes/pins/?access_token=aa&limit=20&fields=id,link,counts
https://api.pinterest.com/v1/boards/mother1086/test-title/pins/?access_token=aaa&limit=2&fields=id,link,counts

참고URL : https://stackoverflow.com/questions/9951045/pinterest-api-documentation

반응형