mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[GH-ISSUE #498] to search multiple artist with the sp search #297
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#297
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 @psenoglu on GitHub (May 26, 2020).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/498
Hi,
I am writing a totally basic code to get the genres of the artist.
but when I try to create the string with more than one artist, it takes only the last one and search with this artist.
I know It is very basic and easy but I can not make it through.
Could someone help me with this problem. I dont even know with which keywords I should try on Google.
Thanks a lot, I appreciate it!
`
`
@stephanebruckert commented on GitHub (May 26, 2020):
this is boolean logic and will result in "radiohead" because the first one "muse" is not
True.Anyway, you want the whole thing to be a string:
@psenoglu commented on GitHub (May 26, 2020):
that comes as output...
{u'items': [], u'next': None, u'href': u'https://api.spotify.com/v1/search?query=%22Muse%22+and+%22radiohead%22&type=artist&offset=0&limit=50', u'limit': 50, u'offset': 0, u'total': 0, u'previous': None}@stephanebruckert commented on GitHub (May 26, 2020):
also try
ANDinstead ofandplease also consult the web API docs as this is not a question related to python https://developer.spotify.com/documentation/web-api/reference-beta/#writing-a-query---guidelines