When trying to fetch artist's top track or albums I'm trying to use the /artists/id/albums and /artists/id/top-tracks endpoints.
In the documentation for /artists/id/albums it states that we can provide limit value so that only a number of albums will be returned. That is not working at all, here is an example URL I'm using to get the response from API:
https://api.spotify.com/v1/artists/6vWDO969PvNqNYHIOW5v0m/albums?include_groups=album,single,compilation,appears_on&limit=10&market=PL&offset=0
This should return 10 of Beyonce's albums which are available in Poland (the market parameter), but instead I get all of her albums, many of which are duplicates and most of them are not even available in Poland
The query I posted is built exactly how the docs say it should be so I suspect it's a bug in Spotify, although the official Spotify app's don't have this issue from what I can tell.
Link do docs:
https://developer.spotify.com/documentation/web-api/reference/#/operations/get-an-artists-albums
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game…