[GH-ISSUE #385] Get artist's albums with multiple album_type #122

Closed
opened 2026-02-27 20:23:15 +03:00 by kerem · 0 comments
Owner

Originally created by @ekuinox on GitHub (Feb 1, 2023).
Original GitHub issue: https://github.com/ramsayleung/rspotify/issues/385

Is your feature request related to a problem? Please describe.

The GET /artists/{id}/albums endpoint seems to allow multiple album types to be specified, but BaseClient::artist_albums only allows up to one album type to be specified.

Also, BaseClient::artist_albums_manual uses the album_type parameter, but the documentation uses the include_groups parameter. I am not familiar with spotify's API, but since it appears to have been updated, I think you should follow this change.

Get Artist's Albums

Describe the solution you'd like

I want to update function signature to like below

async fn artist_albums_manual(
        &self,
        artist_id: ArtistId<'_>,
        album_type: Vec<AlbumType>,
        market: Option<Market>,
        limit: Option<u32>,
        offset: Option<u32>,
    ) -> ClientResult<Page<SimplifiedAlbum>>

Thanks you!

Originally created by @ekuinox on GitHub (Feb 1, 2023). Original GitHub issue: https://github.com/ramsayleung/rspotify/issues/385 **Is your feature request related to a problem? Please describe.** The `GET /artists/{id}/albums` endpoint seems to allow multiple album types to be specified, but `BaseClient::artist_albums` only allows up to one album type to be specified. Also, `BaseClient::artist_albums_manual` uses the `album_type` parameter, but the documentation uses the `include_groups` parameter. I am not familiar with spotify's API, but since it appears to have been updated, I think you should follow this change. [Get Artist's Albums](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-an-artists-albums) **Describe the solution you'd like** I want to update function signature to like below ```rust async fn artist_albums_manual( &self, artist_id: ArtistId<'_>, album_type: Vec<AlbumType>, market: Option<Market>, limit: Option<u32>, offset: Option<u32>, ) -> ClientResult<Page<SimplifiedAlbum>> ``` --- Thanks you!
kerem 2026-02-27 20:23:15 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rspotify#122
No description provided.