[GH-ISSUE #753] albums endpoint should have country/market param #457

Closed
opened 2026-02-27 23:22:44 +03:00 by kerem · 7 comments
Owner

Originally created by @jadenmazzone on GitHub (Dec 9, 2021).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/753

Very simple but the albums(albums) endpoint should be albums(albums, country). According to Spotify Get Several Albums.

Originally created by @jadenmazzone on GitHub (Dec 9, 2021). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/753 Very simple but the albums(albums) endpoint should be albums(albums, country). According to Spotify Get Several Albums.
kerem 2026-02-27 23:22:44 +03:00
Author
Owner

@stephanebruckert commented on GitHub (Dec 9, 2021):

Can you please elaborate on:

According to Spotify Get Several Albums.

<!-- gh-comment-id:990297801 --> @stephanebruckert commented on GitHub (Dec 9, 2021): Can you please elaborate on: > According to Spotify Get Several Albums.
Author
Owner

@jadenmazzone commented on GitHub (Dec 9, 2021):

Can you please elaborate on:

According to Spotify Get Several Albums.

This is the endpoint on spotify: https://developer.spotify.com/console/get-several-albums/. As you can see they have a "market" parameter. So I'm saying that this needs to be added to the "albums" endpoint.

<!-- gh-comment-id:990303688 --> @jadenmazzone commented on GitHub (Dec 9, 2021): > Can you please elaborate on: > > > According to Spotify Get Several Albums. This is the endpoint on spotify: https://developer.spotify.com/console/get-several-albums/. As you can see they have a "market" parameter. So I'm saying that this needs to be added to the "albums" endpoint.
Author
Owner

@jadenmazzone commented on GitHub (Dec 9, 2021):

Just "album" is also missing a market/country param.

<!-- gh-comment-id:990305915 --> @jadenmazzone commented on GitHub (Dec 9, 2021): Just "album" is also missing a market/country param.
Author
Owner

@stephanebruckert commented on GitHub (Dec 9, 2021):

You probably refer to Spotify.albums or Spotify.album which both look for specific album(s) while the market parameter already exists on the album search method https://spotipy.readthedocs.io/en/2.19.0/#spotipy.client.Spotify.artist_albums, see the country parameter

<!-- gh-comment-id:990309279 --> @stephanebruckert commented on GitHub (Dec 9, 2021): You probably refer to [`Spotify.albums`](https://spotipy.readthedocs.io/en/2.19.0/#spotipy.client.Spotify.albums) or [`Spotify.album`](https://spotipy.readthedocs.io/en/2.19.0/#spotipy.client.Spotify.album) which both look for specific album(s) while the `market` parameter already exists on the album search method https://spotipy.readthedocs.io/en/2.19.0/#spotipy.client.Spotify.artist_albums, see the `country` parameter
Author
Owner

@jadenmazzone commented on GitHub (Dec 9, 2021):

Those are different endpoints...Artist_albums does not give any track information while spotify albums / album does, therefore have different responses / data. https://spotipy.readthedocs.io/en/2.19.0/#spotipy.client.Spotify.albums and https://spotipy.readthedocs.io/en/2.19.0/#spotipy.client.Spotify.album should have a "country" param.

<!-- gh-comment-id:990316406 --> @jadenmazzone commented on GitHub (Dec 9, 2021): Those are different endpoints...Artist_albums does not give any track information while spotify albums / album does, therefore have different responses / data. https://spotipy.readthedocs.io/en/2.19.0/#spotipy.client.Spotify.albums and https://spotipy.readthedocs.io/en/2.19.0/#spotipy.client.Spotify.album should have a "country" param.
Author
Owner
<!-- gh-comment-id:990340345 --> @stephanebruckert commented on GitHub (Dec 9, 2021): Oh sorry you are correct, I thought you linked to https://developer.spotify.com/console/get-artist-albums/ Yes, https://github.com/plamere/spotipy/blob/a81aa595ba62d56815e7d83a06f08ddb95af0fc8/spotipy/client.py#L449 is missing a `market` parameter according to https://developer.spotify.com/console/get-several-albums/ Same for: https://github.com/plamere/spotipy/blob/a81aa595ba62d56815e7d83a06f08ddb95af0fc8/spotipy/client.py#L423 according to https://developer.spotify.com/console/get-album/
Author
Owner

@jadenmazzone commented on GitHub (Apr 27, 2022):

Oh sorry you are correct, I thought you linked to https://developer.spotify.com/console/get-artist-albums/

Yes,

github.com/plamere/spotipy@a81aa595ba/spotipy/client.py (L449)

is missing a market parameter according to https://developer.spotify.com/console/get-several-albums/

Same for:

github.com/plamere/spotipy@a81aa595ba/spotipy/client.py (L423)

according to https://developer.spotify.com/console/get-album/

Has this been added yet?

<!-- gh-comment-id:1111314168 --> @jadenmazzone commented on GitHub (Apr 27, 2022): > Oh sorry you are correct, I thought you linked to https://developer.spotify.com/console/get-artist-albums/ > > Yes, > > https://github.com/plamere/spotipy/blob/a81aa595ba62d56815e7d83a06f08ddb95af0fc8/spotipy/client.py#L449 > > is missing a `market` parameter according to https://developer.spotify.com/console/get-several-albums/ > > Same for: > > https://github.com/plamere/spotipy/blob/a81aa595ba62d56815e7d83a06f08ddb95af0fc8/spotipy/client.py#L423 > > according to https://developer.spotify.com/console/get-album/ Has this been added yet?
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/spotipy#457
No description provided.