Skip to content

phenomeno/playlist-deli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playlist Deli

sammie

Serving fresh playlists.

Usage

Obtain credentials

$ bundle install
$ ruby server.rb

Sign in to Spotify at http://localhost:4567/.

Create sample playlists based on what artists you like

require_relative 'app'
user_hash = JSON.parse(File.read('credentials.json'))
spotify_user = RSpotify::User.new(user_hash)

playlist_sampler = PlaylistDeli::Tasks::Sampler.new(spotify_user)

# ['recent', 'short_term', 'medium_term', 'long_term']
playlist_sampler.create_new_mix!('recent')

About

Serving fresh playlists.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages