How to get search feed from Pinterest API

梦想的初衷 提交于 2019-12-06 04:27:53

问题


I am looking to search feed of Pinterest API for Mobile Application. May i know how to get search feed from Pinterest API.


回答1:


There is documentation here https://developers.pinterest.com/api_docs/ about their api, however it is only for queries about domains that are verified and belong to your Pinterest account.




回答2:


This is deprecated as of 2019 and I think this can be a valid place to find what you're looking for.




回答3:


If you can use unofficial api, with py3-pinterest you can do it like this in python

results = []
search_batch = pinterest.search(scope='boards', query='food')
while len(search_batch) > 0:
    results += search_batch
# do whatever with results

full code example



来源:https://stackoverflow.com/questions/28507190/how-to-get-search-feed-from-pinterest-api

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!