en | fr

The ArtistArts class


Extends 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.


fetch

Fetches an image for a given artist name looking on the Spotify API.

Parameters

Returns Promise


fetchArtists

Fetches all the arts of a given collection of artists and display them on the page if needed.

Parameters

Returns Promise


arts

Returns a mapping of the images stored inside the artist arts folder.

Returns Object


setArtistArt

Store an artist’s art inside the local storage.

Parameters

Returns null