A series of functions that access the Spotify API