Skip to content

Commit 91075cd

Browse files
author
Anirudh Goel
committed
Update README.md for standard access + make max 1 req/sec
1 parent 08f4d45 commit 91075cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ flask run
5151
```
5252

5353
### Note
54-
> This app was initially built using Pinterest API v2 and has come a long way since to v5. With every new version of Pinterest API, it is required to re-register the app and obtain new API credentials. But with the current Pinterest API update, which is currently in Beta, Pinterest will probably remove the functionality to access the pins from other people's boards (even public ones), so the app has now been updated to parse images from any website and not solely rely on Pinterest boards for source pins. This is still experimental. As the new Pinterest API is rolling out, and Pinterest mandates to re-register the app for new API credentials, the app is currently running in basic mode, which allows limited number of pins per hour. So, while it can be used for testing purposes at the moment, it will again be upgraded to full mode once the app gets upgraded access for the Pinterest API.
54+
This app was initially built using Pinterest API v2 and has come a long way since to v5. With every new version of Pinterest API, it is required to re-register the app and obtain new API credentials. Originally the app was designed to copy pins from any public board to your board, in bulk. But with the new Pinterest API update, which is currently in Beta, Pinterest has removed the functionality to access the pins from other people's boards (even public ones), so the app has now been updated to parse images from any website and not solely rely on Pinterest boards for source pins. This is still experimental. <br> **Update**: The app has been upgraded to have standard access with higher limits (see [Pinterest API Rate Limits](https://developers.pinterest.com/docs/api/v5/#tag/Rate-limits)).
5555

5656

5757
### Demo

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def save_pins(pins, source, destination, bookmark, req_left, cont, pa_token, cur
308308

309309
print(r.headers)
310310

311-
time.sleep(10)
311+
time.sleep(1)
312312

313313
if counter == 10:
314314
pinterest_requests_left = r.headers['x-userendpoint-ratelimit-remaining']

0 commit comments

Comments
 (0)