module

BBCR1_Spotify

Constants

CREDENTIALS_FILE = "credentials.yml"
DEFAULT_PLAYLIST_NAME = "BBCR1 Songs"
SPOTIFY_API_EP = "https://accounts.spotify.com"
VERSION = "0.1.0"

Class methods

authorize
checkAndRefresh
checkToken(token : String, refresh_token : String)
createPlaylist
getCred
getToken(code, gtype = "auth")
refreshToken(token : String)
refreshToken(token : Credentials::Token)
run
savePlaylist(id : String)
saveToken(token : Spotify::TokenResponse)
startServer(server : Nil)
startServer(server : HTTP::Server)
stopServer(server : Nil)
stopServer(server : HTTP::Server)
theLoop
writeCred(cred : Credentials)

Nested types