/WhatGenre

This web application uses the Spotify API to find an artist's genre and generates a playlist with top-tracks by artists with the same genre.

Primary LanguageHTML

WhatGenre

Live version: http://whatgenre.herokuapp.com

This web application uses the Spotify API to find an artist's genre and generates a playlist with top-tracks by artists with the same genre.

Screenshot

See more screenshots

Getting Started

  1. Download the ZIP file
  2. Unzip the ZIP file
  3. Make sure you install all neccesary prerequisites (see below)

Prerequisites

Make sure you have Ruby installed:

  • ruby version: 2.3.1

And run:

  $ bundle

To install the gems that the app depends on:

Getting started

This app uses a Client ID and Secret Key. These are used as environment variables. To get these and to be able to use the Web API, the first thing you will need is a Spotify user account (Premium or Free). To get one, simply sign up at www.spotify.com.

When you have a user account, go to the My Applications page at the Spotify Developer website and, if necessary, log in. Accept the latest Developer Terms of Use to complete the set-up of your account.

Follow this Spotify tutorial to get your Client ID and Secret Key.

Then, to start up the app, in your terminal type:

  $ clientsecret=YOURCLIENTSECRET clientid=YOURCLIENTID ruby application.rb

The app should now be running locally.

Built With

More screenshots

Screenshot Screenshot Screenshot Screenshot