public getArtistAlbums ( string $artistId, array | object $options = [] ) : array | object | ||
$artistId | string | ID of the artist. |
$options | array | object | Optional. Options for the albums. - string|array album_type Optional. Album type(s) to return. If omitted, all album types will be returned. - string market Optional. Limit the results to items that are playable in this market, for example SE. - int limit Optional. Limit the number of albums. - int offset Optional. Number of albums to skip. |
Результат | array | object | The artist's albums. Type is controlled by SpotifyWebAPI::setReturnAssoc(). |