Skip to content

sbssai123/spotify-flask-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spotify-flask-tutorial

Prerequisites:

  1. Make sure you have Python 3.7, Flask installed (make sure you are using pip version 3 >)
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

Slide Deck from DA Hacks Intro To APIs Workshop

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published