Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 612 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 612 Bytes

spotify-fastapi-sample

Spotify API Sample using FastApi

Spotify API Quickstart guide: https://developer.spotify.com/documentation/web-api/quick-start/

How to Use

  1. Clone repo & set up virtual environment

    git clone [email protected]:duranbe/spotify-fastapi-sample.git 
    cd spotify-fastapi-sample
    python -m venv venv
    source venv/bin/activate
    pip install -r requirements.txt
  2. Edit example.env with your Spotify API credentials

  3. Load values into environment variables & run app

    source example.env
    cd src
    uvicorn main:app --reload