Module spotify

Module spotify 

Source
Expand description

Spotify helpers for resolving tracks, albums, and playlists.

Input: a Spotify ID string and authenticated client credentials (provided via DownloadOptions). Output: a HashMap<String, Track> keyed by a human-friendly display name, e.g. "Artists - Title" or with dupes, if there are two of the same file "Artists - Album - Title".

Functionsยง

fetch_album
Fetch all tracks from a Album by ID.
fetch_playlist
Fetch all tracks from a playlist by ID.
fetch_track
Fetch a single track by Spotify ID.