git clone https://github.com/YLTsai0609/spotify_lib.git
cd spotify_lib
python -m venv .venv
(python 3.8)poetry install
- access token (OAuth2.0)
- login to create app, get client_id, client_secret
- pick a OAuth flow (scope)
- I pick
applications running on the backend, such as CLIs or daemons, the system authenticates and authorizes the app rather than a user.
- send a request to spotify server to activate my app.
- a simple versioned activation log (using csv file)
- I pick
- get access token
- create a private folder
access_token
- python activate_account.py
- create a private folder
input : q = {track_name} output : spotify_id
- - search by tracks with query in english
- - search by tracks with query in chinese
- TODO - how to encode chinese to match spotify search api?
- - search by query = {track, artist} for more precise
- - build a operator(input csv, output csv)
input : spotify_id output : audio feature