Skip to content

jlin180/spotify-flask-tutorial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spotify-flask-tutorial

Prerequisites:

  1. Make sure you have Python 3.7, Flask installed
pip install Flask
pip install spotipy --upgrade
  1. Get a client and secret key from Spotify and export them:
export SPOTIPY_CLIENT_ID='YOUR CLIENT'
export SPOTIPY_CLIENT_SECRET='YOUR SECRET'
export SPOTIPY_REDIRECT_URI='http://127.0.0.1:5000/oauth/callback'
  1. Add the redirect URI (http://127.0.0.1:5000/oauth/callback) to your Spotify app in the developer console.

How to run this app locally:

  1. Navigate to your terminal
  2. git clone https://github.com/sbssai123/spotify-flask-tutorial.git
  3. cd spotify-flask-tutorial
  4. export FLASK_APP=spotify-app
  5. export FLASK_ENV=development
  6. flask run

Slide Deck from HobbyHacks Workshop

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 59.3%
  • HTML 39.9%
  • CSS 0.8%