This repository is the Python Flask microservice providing a recommendation engine for the FastTracks app, returning Spotify songs based on our users best Power Ranked tracks.
Installation:
-
git clone [email protected]:BrennanAyers/flask_tracks.git
(for SSH) -
cd flask_tracks
-
python -m venv venv
(for virutal environment) -
pip install requirements.txt
-
You will also need a
.env
file with aSPOTIFY_CLIENT_ID
andSPOTIFY_CLIENT_SECRET
, gained from creating an App with Spotify.
Endpoints:
/api/v1/recommended?song_ids=COMMA_SEPERATED_LIST_OF_SPOTIFY_SONG_IDS_MAX_5&limit=INTEGER_FROM_ONE_TO_FIFTY
Tests:
- run
pytest
Hosted Version:
Contributors:
- Brennan Ayers
- Alexander Mathieu