Reputation: 19
I want to incorporate the ability for a user to search for a Spotify song with keywords. I noticed in CocoaLibSpotify there is a searchWithSearchQuery:
, but have not seen anything similar in the Spotify API. Using CocoaLibSpotify was discouraged because it is deprecated.
Is there any way to search with the Spotify API?
Upvotes: 0
Views: 871
Reputation: 410552
The Spotify API has a /v1/search. It takes a q parameter, your search query, and a type parameter, which is the type of thing to search (in the case of songs, that's "track"). So you could hit /v1/search?type=track&q= to search for a song.
Upvotes: 1