Skip to content

Request data from Spotify API using flask with templates; or use a simple python api

License

Notifications You must be signed in to change notification settings

hereismari/spotify-flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spotify-flask

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!

Image

Run it

  1. Follow this tutorial to create your own Spotify App. Then add "http://127.0.0.1:8081/callback/" as a redirect URI.

  2. Create a file named conf.json in this folder with the exact same structure of the conf_example.json file.

  3. Run python app.py to see an application using the code present here :bowtie:.

What facilities this application offers?

  • 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.

About

Request data from Spotify API using flask with templates; or use a simple python api

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published