Data, tools, and support with the flavor of New England. An MLS System Built for You. Pinergy is designed by MLS PIN staff to provide you with the features you've requested most.
- We craft beautiful free WordPress themes with advanced functionality. Our themes are licenced under GPL and completely free, which means you can use them in any way you like, whether it's powering up your website, giving your blog a new look, using it for some other project or modifying and redistributing them.
- The 1.4.3 version of Pinboard for Pinterest for Mac is available as a free download on our website. Pinboard for Pinterest for Mac is categorized as Communication Tools. This Mac download was scanned by our antivirus and was rated as clean. The unique ID for this application's bundle is com.ilifetechnology.pinboardforpinterest.
- Temukan resep, ide rumah, inspirasi gaya, dan ide lain untuk dicoba.
Released:
Unofficial pinterest api implemented in python 3
Project description
Unofficial Pinterest API implemented in python 3 that can do all Pinterest tasks like comment, pin, repin, follow, unfollow and more.
It is implemented by directly calling the pinterest servers, mimicking an actual browser, so you don't need pinterest API key.
If you see any issues, or find bugs feel free to report them here on the github repo.
Install using pip
pip install py3-pinterest
NOTE: for each of the functionalities listed below there is a working example under the project root.
Create new instance of the API
pinterest = Pinterest(email='your email goes here', password='password goes here', username='look in pinterest url', cred_root='cred root dir')
cred_root is the dir (automatically created if missing) that will store some cookies nad sessions, so you don't need to login before each request.Make sure you specify a path with read/write permissions.
Proxies example:
Login/Logout
Login will store auth cookies for later use. These cookies are usually valid for ~15 days, then you will start getting 403 and 401 errors, which means you need to call login again.
Login
Login is required to permit actions to the Pinterest servers. Login will store auth cookies for later use. These cookies are usually valid for ~15 days, then you will start getting 403 and 401 errors, which means you need to call login again.
pinterest.login()
pinterest.logout()
Load profile
You can load profile for currently logged in user or any user specified by username.
user_profile = pinterest.get_user_overview()
Board and pin management
Get all boards of user:
boards = pinterest.boards(username='username')
List all pins in board
pins = pinterest.board_feed(board_id=board_id)
If username is left blank, current logged in user will be used.
Delete pin
pinterest.delete_pin(pin_id='pin_id')
Repin
pinterest.repin(board_id='board_id', pin_id='pin_id')
Get ID of created pin, section, or board
All functions return the post/get data from the request. If you dig a little deeper by going myrequest.content you get the actual HTML response, which can then be turned into a dict by using JSON.
Example:
Some helpful notes on the response:Everything is stored inside the 'resource_response' key. You can use that and grab all sorts of data like so:
Get pinnable images
A pinterest feature they use to pin from websites
pinterest.get_pinnable_images(url='https://www.tumblr.com/search/food')
Pin
Pin image by web url:
pinterest.pin(board_id=board_id, image_url=image_url, description=description, title=title)
Pin image from local file:
pinterest.upload_pin(board_id=board_id, section_id=section_id, image_file=image_path, description=description, title=title, link=link)
Get home feed pins
home_feed_batch = pinterest.home_feed()
Get board recommendations (this is the 'more ideas' api)
rec_batch = pinterest.board_recommendations(board_id=board_id)
Get pin information by id
pinterest.load_pin(pin_id='pin_id')
Board Section support
pinterest.create_board_section(board_id=board_id, section_name=section_name)
pinterest.delete_board_section(section_id=section_id)
pinterest.get_board_sections(board_id=board_id)
You can also pin and repin to sections.
Follow/Unfollow
Follow
pinterest.follow_user(user_id='target_user_id', username='target_username')
Follow limit is 300 per day, after that they might place you on watch list
Unfollow
pinterest.unfollow_user(user_id='target_user_id', username='target_username')
Unfollow limit is 350 per day, after that they might place you on watch list
Get following
following_batch = pinterest.get_following(username='some_user')
If username is not provided current user will be used
Get followers
followers_batch=pinterest.get_user_followers(username='some_user')
If username is not provided current user will be used
Follow board
pinterest.follow_board(board_id=board_id)
Unfollow board
Jixipix artista impresso 1 2 35. pinterest.unfollow_board(board_id=board_id)
Search
1 4 3 Means
search_batch = pinterest.search(scope='boards', query='food')
Current pinterest scopes are: pins, buyable_pins, my_pins, videos, boards
User interactions
Invite to board
pinterest.invite(board_id=board_id, user_id=target_user_id)
Delete board invite
pinterest.delete_invite(board_id=board_id, invited_user_id=target_user_id)
Get board invites
invites_batch = pinterest.get_board_invites(board_id=board_id)
Comment
pinterest.comment(pin_id=pin_id, text=comment_text)
Delete comment
pinterest.delete_comment(pin_id=pin_id, comment_id=comment_id)
Get Pin comments
pinterest.get_comments(pin_id='pin_id')
Send perosnal message
pinterest.send_message(conversation_id=conversation_id, pin_id='(pin_id)', message='hey')
Release historyRelease notifications | RSS feed
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
0.3.0
0.2.3
0.2.0
pinterest.upload_pin(board_id=board_id, section_id=section_id, image_file=image_path, description=description, title=title, link=link)
Get home feed pins
home_feed_batch = pinterest.home_feed()
Get board recommendations (this is the 'more ideas' api)
rec_batch = pinterest.board_recommendations(board_id=board_id)
Get pin information by id
pinterest.load_pin(pin_id='pin_id')
Board Section support
pinterest.create_board_section(board_id=board_id, section_name=section_name)
pinterest.delete_board_section(section_id=section_id)
pinterest.get_board_sections(board_id=board_id)
You can also pin and repin to sections.
Follow/Unfollow
Follow
pinterest.follow_user(user_id='target_user_id', username='target_username')
Follow limit is 300 per day, after that they might place you on watch list
Unfollow
pinterest.unfollow_user(user_id='target_user_id', username='target_username')
Unfollow limit is 350 per day, after that they might place you on watch list
Get following
following_batch = pinterest.get_following(username='some_user')
If username is not provided current user will be used
Get followers
followers_batch=pinterest.get_user_followers(username='some_user')
If username is not provided current user will be used
Follow board
pinterest.follow_board(board_id=board_id)
Unfollow board
Jixipix artista impresso 1 2 35. pinterest.unfollow_board(board_id=board_id)
Search
1 4 3 Means
search_batch = pinterest.search(scope='boards', query='food')
Current pinterest scopes are: pins, buyable_pins, my_pins, videos, boards
User interactions
Invite to board
pinterest.invite(board_id=board_id, user_id=target_user_id)
Delete board invite
pinterest.delete_invite(board_id=board_id, invited_user_id=target_user_id)
Get board invites
invites_batch = pinterest.get_board_invites(board_id=board_id)
Comment
pinterest.comment(pin_id=pin_id, text=comment_text)
Delete comment
pinterest.delete_comment(pin_id=pin_id, comment_id=comment_id)
Get Pin comments
pinterest.get_comments(pin_id='pin_id')
Send perosnal message
pinterest.send_message(conversation_id=conversation_id, pin_id='(pin_id)', message='hey')
Release historyRelease notifications | RSS feed
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
0.3.0
0.2.3
0.2.0
Pinboard For Pinterest 1 4 3 download free. full
0.1.6
0.1.5
0.1.4
0.1.2
0.1.1
0.1.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
1 4 3 I Love You Lyrics
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size py3_pinterest-1.1.2-py3-none-any.whl (13.4 kB) | File type Wheel | Python version py3 | Upload date | Hashes |
Filename, size py3-pinterest-1.1.2.tar.gz (13.8 kB) | File type Source | Python version None | Upload date | Hashes |
Hashes for py3_pinterest-1.1.2-py3-none-any.whl
Algorithm | Hash digest |
---|---|
SHA256 | e472696d93c16a447afad55f8c98a1922737be1911b4883ad8e47e74940a74d4 |
MD5 | be11db878f4f1b9d030a8a81698b2a2b |
BLAKE2-256 | 63e4f10ddaeb353660095b10723832807e2c6cfd331cfa4a33856fb12ee76baa |
Hashes for py3-pinterest-1.1.2.tar.gz
Algorithm | Hash digest |
---|---|
SHA256 | defca4ea1f8132d16e87f373227281c11f5d99e02ad580e171edaf1378265beb |
MD5 | dd828a24e20d5fd7e36effbf79bad607 |
BLAKE2-256 | 285a9390dc9c7e4088e17c8f917c8f70afa46d87a2ab5a95238e75e40ffa981f |