Not that using the Spotify API directly is all that hard but the spotipy library makes it even easier.