![]() ![]() ![]() create_board ( name = 'Board name', description = 'Description' ) # Follow a board pinterest. boards () # Create new board, it also return new board data if creation was successful pinterest. login () # Get all boards of logged in user boards = pinterest. Object from pinterest import Pinterest agent_string = 'Mozilla/5.0 (Windows NT 10.0 Win64 圆4 rv:56.0) Gecko/20100101 Firefox/56.0' pinterest = Pinterest ( username_or_email = 'your_username_or_email', password = 'your_password', agent_string = agent_string ) Operations from pinterest import Pinterest pinterest = Pinterest ( username_or_email = 'your_username_or_email', password = 'your_password' ) # Login to pinterest site, if 'ok' return True otherwise return False logged_in = pinterest. You can also use your custom User-Agent string for each pinterest-client If you need to use a proxy, you can pass proxies argument to constructor from pinterest import Pinterest proxies = pinterest = Pinterest ( username_or_email = 'your_username_or_email', password = 'your_password', proxies = proxies ) Custom User-Agent Object: from pinterest import Pinterest pinterest = Pinterest ( username_or_email = 'your_username_or_email', password = 'your_password' ) With proxies They are included in the requirements of this package so you won’t haveĪfter installation was successful, you can initialize a new pinterest This package depends on some other Python packages: ![]() Or install from source code if you downloaded it from this GitHubĬommand: python setup.py install Dependencies Install it easily using pip command: pip install pinterest-client Support operations: login, pin, save pin, delete pin, boards, createīoard, delete board, follow board, follow user, comment, search pins, A simple python client for Pinterest that support user interact with ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |