get recommendations

GET {{baseUrl}}/<ENDPOINT>

get recommendations

Here is the exciting part! We will use the three artists ids saved from the previous requests (artistId1,artistId2,artistId3) to ask Spotify for new song recommendations.

  1. Check out Spotify's API documentation for getting recommendations. Replace <ENDPOINT> with the correct endpoint and query parameter that will help you get song recommendations based on artist seeds. Be sure to include the three artist ids you have saved as collection variables, using the double curly braces to interpolate!

  2. You should get back a status 200 response, with a response object that has a key tracks with and array of items (track recommendations) inside.

Visualize the response

  1. Open the Tests tab on this request. Some scripts have been started, but need your help to finish. Complete the TODOs

Helpful resources - [Qodex visualizer documentation]

Next step

Once you've finished, follow the instructions in submit to submit your work