Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hereismari/spotify-flask
Request data from Spotify API using flask with templates; or use a simple python api
https://github.com/hereismari/spotify-flask
flask python spotify-api spotify-flask
Last synced: 3 months ago
JSON representation
Request data from Spotify API using flask with templates; or use a simple python api
- Host: GitHub
- URL: https://github.com/hereismari/spotify-flask
- Owner: hereismari
- License: apache-2.0
- Created: 2017-02-23T20:31:18.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-08-28T04:36:50.000Z (over 2 years ago)
- Last Synced: 2024-10-23T13:38:54.302Z (3 months ago)
- Topics: flask, python, spotify-api, spotify-flask
- Language: Python
- Homepage:
- Size: 333 KB
- Stars: 75
- Watchers: 3
- Forks: 20
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](http://github.com/mari-linhares/spotify-flask/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](https://github.com/mari-linhares/spotify-flask/blob/master/imgs/profile.png?raw=true)
## Run it
1. Follow [this tutorial](https://developer.spotify.com/web-api/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](https://github.com/mari-linhares/spotify-flask/tree/master/api) that makes very simple to use Spotify API in your Python code.