Getting An Album By ID
Wraps around this Spotify API endpoint
How to use
After creating a Spotify
object, you can use .Albums.GetAlbum()
to get a album by its Spotify ID.
This will return an Album 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 album with .Albums.GetAlbum()
by the album's Spotify ID
C) Save the album
Spoofy := new Spotify()
GoodAlbumIMO := Spoofy.Albums.GetAlbum("7xuWUPvk8Xb042QUigdIrE")
GoodAlbumIMO.Save()