- python 3
- pip
On macOS and Linux:
python3 -m venv env
On Windows:
py -m venv env
On macOS and Linux:
source env/bin/activate
Windows:
.\env\Scripts\activate
pip install -r requirements.txt
After pip installing package do:
pip freeze > requirements.txt
Leaving the virtual environment:
deactivate
- Create application token for Spotify
- Add client id, client secret and redirect URIs found in EDIT SETTINGS
- Create musixmatch api key find it in Dashboard -> Applications -> Default -> View
- Add everything to variables.cfg like this:
[DEFAULT]
SPOTIPY_CLIENT_ID = yourId
SPOTIPY_CLIENT_SECRET = yourSecret
SPOTIPY_REDIRECT_URI = yourCallbackURI
MUSIXMATCH_API_KEY = yourMusixmatchKey
python spotifyapi.py