class Spotify::API
- Spotify::API
- Reference
- Object
Defined in:
BBCR1_Spotify/SpotifyApi.crConstant Summary
-
ENDPOINT =
"https://api.spotify.com/v1"
-
JSONREQ =
{"Content-Type" => "application/json"} of String => String
Constructors
Instance Method Summary
- #addTrackToPlaylist(track : Track, userid : Int32, playlistId : String)
- #get(path : String)
- #getJSON(path : String)
- #post(path : String, headers : Hash(String, String), postData : Hash(String, String))
- #post(path : String, headers : Hash(String, String), postData : String)
- #postJSON(path : String, headers : Hash(String, String), postData : Hash(String, String))
- #search(artist : String, title : String)
- #setToken(token : String)
Constructor Detail
Instance Method Detail
def post(path : String, headers : Hash(String, String), postData : Hash(String, String))
#
def postJSON(path : String, headers : Hash(String, String), postData : Hash(String, String))
#