Reputation: 4027
The Spotify web API is not well documented, or at least I couldn't find what i was looking for.
I want to get all the artists that start with an "A" (for example).
If i do this (node.js):
var options = {
host: 'ws.spotify.com',
port: 80,
path: '/search/1/artist.json?q=a',
headers: {
'Content-Type': 'application/json'
}
I get the artists that have an "A" not the ones that start with "A". This is just a basic example but i'm guessing i'll run into this problem later on as well.
Can this be done or it depends on their API? Do regular expressions work for something like this?
Upvotes: 0
Views: 490
Reputation: 18776
Regular expressions don't work with this API. The advanced search syntax does, though.
Upvotes: 2