Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

A easier and faster code to get the authorization token for the Pinterest v5 API.

Notifications You must be signed in to change notification settings

GoekhanDev/pinterest-api-v5-auth-simplified

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

pinterest-api-v5-auth-simplified

A easier and faster way to get the access token for the Pinterest v5 API.
The redirect uri is set to localhost.

Requirements

pip install -r requirements.txt

How to use

 pinterest().auth("client_id", "client_secret", "redirect_uri", "scope")

Result

 {
 "access_token": "{an access token string prefixed with 'pina'}",
 "refresh_token": "{a refresh token string prefixed with 'pinr'}",
 "response_type": "authorization_code",
 "token_type": "bearer",
 "expires_in": "access token expiry: int",
 "refresh_token_expires_in": "refresh token expiry: int",
 "scope": "scopes"
 }


Buy Me A Coffee

About

A easier and faster code to get the authorization token for the Pinterest v5 API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages