Artist src/structures/Artist.ts#L65
Spotify api's user object.
Properties:
externalURL genres id images name popularity totalFollowers type uriMethods:
makeCodeImageconstructor(data) src/structures/Artist.ts#L65
No documentation found.
Name | Type | Description |
---|---|---|
data | Artist | SimplifiedArtist | The raw data received from the api. |
.genres src/structures/Artist.ts#L47 OPTIONAL
Type:
string[]
A list of the genres the artist is associated with. For example: "Prog Rock" , "Post-Grunge". (If not yet classified, the array is empty.)
.images src/structures/Artist.ts#L52 OPTIONAL
Type:
Image[]
Images of the artist in various sizes, widest first.
.popularity src/structures/Artist.ts#L57 OPTIONAL
Type:
The popularity of the artist. The value will be between 0 and 100, with 100 being the most popular. The artist’s popularity is calculated from the popularity of all the artist’s tracks.
.makeCodeImage(color) src/structures/Artist.ts#L84
Returns a code image url from the spotify uri.
Returns:
Parameters:
Name | Type | Description |
---|---|---|
color | string | The color code in hex. |