Getting A Track By ID
Wraps around this Spotify API endpoint
How to use
After creating a Spotify
object, you can use .Track.GetTrack()
to get a track by its Spotify ID.
This will return a Track Object which can then be used for the methods outlined on this page.
Example
This example will:
A) Create a Spotify
object (which will prompt the user for authorization if it is not already done)
B) Get a track with .Tracks.GetTrack()
by the track's Spotify ID
C) Save the track
Spoofy := new Spotify()
GoodSongIMO := Spoofy.Tracks.GetTrack("4A6eJ3gOmVdD7C69N3DC7K")
GoodSongIMO.Save()