Skip to content

A Flask based Python microservice to facilitate Song Recommendation for the FastTracks Rails application.

Notifications You must be signed in to change notification settings

BrennanAyers/flask_tracks

Repository files navigation

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 a SPOTIFY_CLIENT_ID and SPOTIFY_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

About

A Flask based Python microservice to facilitate Song Recommendation for the FastTracks Rails application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages