[GH-ISSUE #423] Missing market field on the album API call #143

Closed
opened 2026-02-27 20:23:22 +03:00 by kerem · 1 comment
Owner

Originally created by @rileyallyn on GitHub (Jun 2, 2023).
Original GitHub issue: https://github.com/ramsayleung/rspotify/issues/423

Describe the bug
The album function github.com/ramsayleung/rspotify@08387401aa/src/clients/base.rs (L373) does not have a param for the market field which is in the API documentation.

To Reproduce
Steps to reproduce the behavior:
N/A

Expected behavior
Having a market field

Log/Output data
N/A

Additional context
https://developer.spotify.com/documentation/web-api/reference/get-an-album and https://developer.spotify.com/documentation/web-api/concepts/track-relinking

Originally created by @rileyallyn on GitHub (Jun 2, 2023). Original GitHub issue: https://github.com/ramsayleung/rspotify/issues/423 **Describe the bug** The album function https://github.com/ramsayleung/rspotify/blob/08387401aace34b7e807a78d2f9be3cb48d94da4/src/clients/base.rs#L373 does not have a param for the market field which is in the API documentation. **To Reproduce** Steps to reproduce the behavior: N/A **Expected behavior** Having a market field **Log/Output data** N/A **Additional context** https://developer.spotify.com/documentation/web-api/reference/get-an-album and https://developer.spotify.com/documentation/web-api/concepts/track-relinking
kerem 2026-02-27 20:23:22 +03:00
Author
Owner

@ramsayleung commented on GitHub (Jun 7, 2023):

I think Spotify just updated their API by adding a new field named market, RSpotify should update the album endpoint accordingly.

So, feel free to create a PR to fix this problem.

<!-- gh-comment-id:1581249429 --> @ramsayleung commented on GitHub (Jun 7, 2023): I think `Spotify` just updated their API by adding a new field named `market`, `RSpotify` should update the `album` endpoint accordingly. So, feel free to create a PR to fix this problem.
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#143
No description provided.