Spotify-Flask is a very straightforward way to request data from Spotify API using flask with templates. You can also just use the Python API to make requests for your application.
I've created this repository because I couldn't find a full implementation of a Flask app using Spotify API, altough https://github.com/datademofun/spotify-flask and https://github.com/drshrey/spotify-flask-auth-example have some nice work!
-
Follow this tutorial to create your own Spotify App. Then add "http://127.0.0.1:8081/callback/" as a redirect URI.
-
Create a file named conf.json in this folder with the exact same structure of the conf_example.json file.
-
Run python app.py to see an application using the code present here .
- Support to a complete example (that you can use as base for your own project) of an application using Flask to talk to the Spotify API.
- Python API that makes very simple to use Spotify API in your Python code.