Artists class

Endpoint for artists v1/artists

Inheritance

Constructors

Artists(SpotifyApiBase api)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

albums(String artistId, {Market? country, List<String>? includeGroups}) Pages<Album>
includeGroups - A comma-separated list of keywords that will be used to filter the response. If not supplied, all album types will be returned. Valid values are: 'album', 'single', 'appears_on', 'compilation'
get(String artistId) Future<Artist>
Retrieves an artist with its artistId
getRelatedArtists(String artistId) Future<Iterable<Artist>>
Returns related artists based on the artist with its artistId
getTopTracks(String artistId, String country) Future<Iterable<Track>>
Returns the top tracks of an artist with its artistId inside a country
list(List<String> artistIds) Future<Iterable<Artist>>
Retrieves multiple artists with artistIds
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
relatedArtists(String artistId) Future<Iterable<Artist>>
Returns related artists based on the artist with its artistId
topTracks(String artistId, Market country) Future<Iterable<Track>>
Returns the top tracks of an artist with its artistId inside a country
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited