Serving fresh playlists.
$ bundle install
$ ruby server.rb
Sign in to Spotify at http://localhost:4567/.
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')