Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drshrey/spotify-flask-auth-example
Walkthrough of Authorization Code Flow using Flask and Python, with the Spotify API.
https://github.com/drshrey/spotify-flask-auth-example
Last synced: 17 days ago
JSON representation
Walkthrough of Authorization Code Flow using Flask and Python, with the Spotify API.
- Host: GitHub
- URL: https://github.com/drshrey/spotify-flask-auth-example
- Owner: drshrey
- Created: 2014-12-23T16:08:55.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-04-15T01:33:43.000Z (over 5 years ago)
- Last Synced: 2024-07-31T20:50:04.086Z (3 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 83
- Watchers: 9
- Forks: 22
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Authorization Code Flow Walkthrough
=======How to do an authorization code flow, through Flask and Python.
##Step 1
Fill in your credentials in main.py. This includes the CLIENT_ID and CLIENT_SECRET, which is left blank. You can obtain this by going to [Spotify Developers](https://developer.spotify.com/my-applications/#!/).##Step 2
Be sure that your redirect uri, inside your application page in the Spotify Developers website is "http://127.0.0.1:8080/callback/q".##Step 3
To see that it works, simply run the application by running '''python main.py''', and point your browser to http://127.0.0.1:8080.