Hello,
What's the best way to search for tracks by a particular Artist? For example, if I want to search for One by U2.
Things I've tried:
A. Use the Track/search API and query "One".
This returned a list of about 190 results, but none of them were a track by U2.
B. Use the artist/topTracks API and then search for a tracked named "One".
TopTracks for U2 return 1825 items, so scanning the list, which would require 37 calls to the API, is impractical.
C. Use the Track/search API and query "One U2".
This worked, as One by U2 was the first item in the response, but seems like this method could be error prone - like when a track by some artist equals a track name plus the artist name of another artist. As a second layer of precaution, I could then check the artist name and track name with each list item, and hope to get lucky early in the list. But, I was hoping there's a simpler way.
So basically, C. works but is there a better way ???
Thanks in advance!
Nate