Skip to content

This web app built in Django uses spotify API and save the top 50 tracks (songs), for a user.

Notifications You must be signed in to change notification settings

BubuDavid/Spotify-API-Top-User-Tracks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django app with Spotify API

I built a simple Django app that grabs your top 50 spotify songs and save them on a sqlite3 database, this will be used for train a ML model that can tell your personality type based on your likes.

Requirements

Setup

To get ready just follow the instructions.

  1. Clone the project repository:
git clone https://github.com/BubuDavid/Spotify-API-Top-User-Tracks.git

cd Spotify-Api-Top-User-Tracks
  1. You can create an environment with
virtualenv -p python .

and activate it with:

# Windows
Script/activate.bat
# IOS
source spotify-top/bin/activate

or with conda by typing

conda create -n spotify-top

and activate it whith

conda activate spotify-top
  1. Install the requirements
(pose-estimation)$ pip install -r requirements.txt
  1. Remember to set your client_id and client_secret from you spotify app, you can use enviroment variables or a .env document. If you do not know how to create an app, follow this tutorial.

  2. Set your redirect_uri to http://localhost:8888/callback inside your app settings on spotify developer.

  3. And to run the app you can do

python manage.py runserver 8888

About

This web app built in Django uses spotify API and save the top 50 tracks (songs), for a user.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published