mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #576] featured_playlists not returning amount requested with limit #343
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#343
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @FL550 on GitHub (Sep 14, 2020).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/576
Describe the bug
When calling featured_playlists with no limit parameter or limit greater 11, max 11 playlists are received.
Your code
Expected behavior
Receive more than 11 playlists.
Output
Limit: 15 Received: 11Environment:
Additional context
According to https://developer.spotify.com/documentation/web-api/reference/browse/get-list-featured-playlists/ it should be possible to receive 50 playlists.
@stephanebruckert commented on GitHub (Sep 14, 2020):
Could it be that there are no more than 11 featured playlists?
Here what you called "received" is actually "total". And "total" seems to be always the same, no matter what "limit" is.
@FL550 commented on GitHub (Sep 14, 2020):
You are right. Trying it with the console confirmed this. Sorry to bother you.