ArtistArts
ArtistArts
classExtends NetService
Service tied to the Spotify API that is able to fetch artist’s images and store them on disk to display a nice local library.
Fetches an image for a given artist name looking on the Spotify API.
Parameters
artist
String The artist’s name.Returns Promise
Fetches all the arts of a given collection of artists and display them on the page if needed.
Parameters
artists
Array The collection of artists.Returns Promise
Returns a mapping of the images stored inside the artist arts folder.
Returns Object
Store an artist’s art inside the local storage.
Parameters
Returns null