Update Aug 2015: Pinterest现在在这里提供https://dev.pinterest.com/
Is there official or unofficial documentation on the v2 Pinterest API?
我知道的事情:
-
JSON api在版本2中.https://api.pinterest.com/v2为您提供了json响应
-
人们正在编程反对它,因为有一个移动应用程序和beta开发
-
PHP wrapper for v1 with updates for v2 on Github by Kellan与方法:上传,pin,repin,板,活动,流行 - 阅读Kellan的代码是我能找到的最好的信息
-
More info关于Kellan与Pinterest团队的回应
Update Mar 4 2014 Pinterest推出了可以请求访问的beta v3 API . 向下滚动页面,您将看到左列中列出的 endpoints . https://developers.pinterest.com/api_docs/
Update Jan 9 2013 由于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 }
Update Nov 19, 2012 http://tijn.bo.lt/pinterest-api上的非正式api文档及其整个网站已经消失 . 我将离开此帖子中的链接,因为它可能会重新上线 . 仍然没有Pinterest对开发人员的api状态 .
Update May 22, 2012 Pinterest仍未提供公开API . 人们正在将iPhone用户代理连接到api endpoints ,这是iOS应用程序可用的
Update Apr 17, 2012 感谢tijn,我们有unofficial version 1(now v2) Pinterest api docs,并且报告当前只有读取 endpoints 可用,因此可以在速率限制内使用RSS样式 .
Update Apr 3, 2012 非官方Facebook群组有一些质量信息,有几个人提问并发布相当有用的回复
10 回答
截至2012年6月11日,Pinterest尚未正式发布或提供文档API . Pinterest support page具有指向正式发布时要通知的表单的链接 .
这个问题已经过时了,但是如果有人仍对最新的答案感兴趣:Pinterest终于推出了official API,包括用于Javascript,Android和iOS的SDK .
我一直在为它做一个PHP wrapper并注意到并非文档中的每个 endpoints 都正常工作,但大部分工作都正常 .
截至今天,Pinterest有no Official API Docs可用 .
但是这里有关于v2的非官方文档:http://tijn.bo.lt/pinterest-api
iv有一个简单快捷的方式发布到Pinterest但不幸的是,此时它只会将一个引脚发布到一个板上,并让用户可以选择查看他们的 Profiles .
我是使用Titanium Studio的iOS开发人员,版本:3.0.1.20 .
暂时检查Pinterest API是否有刮刀 .
这是我发现的pinterest的官方文档,它可以帮助我也希望它也能帮助你Official documentation
好像https://api.pinterest.com/v3/pins/jphellemons/
给出这样的信息:
和网址https://api.pinterest.com/v3/pins/给出
所以即将推出的API将会出现在我的网址上 . 我猜想只是通过oAuth进行身份验证 . 因为他们最近聘请了约翰伊
http://allthingsd.com/20130612/the-pinterest-api-is-coming-head-of-marketing-developer-partnerships-joins-up/
http://www.businessinsider.com/pinterest-hires-john-yi-to-launch-api-2013-6
如果你不能等待官方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/
Mashape中有一个非官方的Pinterest API - https://www.mashape.com/ismaelc/pinterest-1#!documentation
截图如下:
这是另一个可能值得关注的(使用PhantomJSCloud API) - https://www.mashape.com/novaleaf/pinterest-to-json#!documentation
示例响应如下所示:
我想提供有关Pinterest API当前状态的更新 .
仍然没有可用的公共API . Pinterest似乎也不批准申请访问其网站的任何人 .
截至目前,虽然没有官方文档,但Pinterest v3 API的 endpoints 几乎已完成 . 以下是可用 endpoints 类型的简要列表:
您可能会发现上面每个 endpoints 的许多子 endpoints . 我确实有许多可用 endpoints 的列表,但由于它们不公开,我不打算在这里发布(提示:大多数都很容易猜到) . 除登录 endpoints 外,所有上述 endpoints 都需要access_token参数 .
要生成有效的access_token,开发人员需要被Pinterest授予对API的访问权限,我们都知道这几乎是不可能的 .
另一种选择是使用您的Pinterest用户名和密码编写一个脚本来模拟
/v3/login
endpoints 的登录操作 . 如果请求成功,它将返回access_token . 我不会详细介绍如何完成此操作,因为这绝不是公共API的一部分,仅适用于在其移动应用上登录Pinterest的用户 .但是,您可以为Pinterest帐户生成已被Pinterest批准的现有应用程序的访问令牌,例如 Pinterest for iPhone :
您将看到在URL的哈希值中返回access_token . 您现在可以使用此access_token来播放 endpoints ,它有效期为一个月 . 发现它们很有趣!
公共 endpoints ,不需要access_token:
Pins with a known username and known board name:
Pins with a known username:
Retrieving the information of (a) particular pin(s):
Count the number of pins:
如果有人仍然感兴趣,显然格式的URL
将返回一个很好的信息有效载荷,包括用户信息 .