Spotify's web api is only returning 300 or something so tracks for each genre

Reply

Spotify's web api is only returning 300 or something so tracks for each genre

aus207
Newbie

I'm trying to use the web api to get random tracks by genre, but it is only returning 300 or so tracks for each genre. If you can see on the bottom for key "total". There is no way rock only has 323 songs. This is the url i'm using to get the tracks:

 

https://api.spotify.com/v1/search?q=""genre:"rock"&type=track 

0 Replies
SUGGESTED POSTS