Pinterest API using Python3
Simply run setup.py to check if there is dependencies missing for you to use API
requests
and pip
Go on Pinterest Token page to get your access token and put it at config.py
All functions are all correspond to each different functionality that Pinterest API provides.
Functions are also sorted in that order in pinterest_api.py
. If function seems to be missing, that is because that function was redundant.
All function returns a requests object, for more documentation, please look at requests documentation page
import pinterest_api
p = Pinterest()
current_user_info = p.get_current_user()
current_user_board = p.get_current_user_board()
id = current_user_info.json()["data"]["id"]
MIT
This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by Pinterest or any of its affiliates or subsidiaries. This is an independent and unofficial API. Use at your own risk.