Spotify API Sample using FastApi
Spotify API Quickstart guide: https://developer.spotify.com/documentation/web-api/quick-start/
-
Clone repo & set up virtual environment
git clone git@github.com:duranbe/spotify-fastapi-sample.git cd spotify-fastapi-sample python -m venv venv source venv/bin/activate pip install -r requirements.txt
-
Edit
example.env
with your Spotify API credentials -
Load values into environment variables & run app
source example.env cd src uvicorn main:app --reload