Create a music genre dataset (metadata or audio) for classification using the Spotify Web API.
Disclaimer: It's not a Spotify product and isn't associated with the company.
Learnfy is a webapp to help you to create a dataset of songs for music genre classification.
$ git clone https://github.com/Hguimaraes/learnfy
$ cd learnfy
$ npm install && bower install- Go to the Spotify developer page and click in the "My apps" tab
- Click on the "Create an app" button
- Fill the information as the following
- Add the URL http://localhost:8888/callback to your Redirect URIs
- Save your Client ID and Client Secret. Don't forget to save this edit before leaving the page
$ mv .env.example .envAnd edit the .env file with your favorite text editor and place your client ID and client secret in the correct line (without "").
You can edit the config/config.js file to change the place where you will save the data. By default it will save on the dataset folder.
$ node learnfyor if you already have an bkp file and want to create an exact dataset of it:
(@TO-DO)$ node learnfy --restore mybkpfile.bkpWhere mybkpfile.bkp is the path to your backup file.
Read carefuly the Terms of Use of the Spotify API



