mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #360] How do I find Singles and EPs by an artist? #209
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#209
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 @manavkulshrestha on GitHub (Mar 11, 2019).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/360
I've found how to get all albums given an artist, but couldn't find how to get the singles and eps anywhere on the documentation.
@CDeLeon94 commented on GitHub (Apr 2, 2019):
Here is a link to the info on the documentation:
You'd have to check how EP's are listed, but my guess is they'd be under singles.
@stephanebruckert commented on GitHub (Jan 1, 2020):
Filtering by
album_typeis the way to go@ezekini commented on GitHub (Feb 3, 2020):
Is there a way to ask for more than one option in the same request? I tried with a list like
album_type=['album', 'single']but didn't work.@stephanebruckert commented on GitHub (Feb 3, 2020):
@ekinig https://developer.spotify.com/documentation/web-api/reference/search/search/ shows you can separate types with a comma:
album,single@ezekini commented on GitHub (Feb 3, 2020):
Yes, I saw that also in the get-artists-albums API page, but unless I am doing something wrong, in spotipy it's not working
returns two items, both of type album , but that artist has many singles.
@stephanebruckert commented on GitHub (Feb 3, 2020):
Did you try with a single string?
@ezekini commented on GitHub (Feb 3, 2020):
It worked 😶. That is definitely not a python list, but I guess the API is not just for python. Thank you