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.
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!You should get back a status 200 response, with a response object that has a key
tracks
with and array ofitems
(track recommendations) inside.
Visualize the response
- Open the Tests tab on this request. Some scripts have been started, but need your help to finish. Complete the
TODO
s
Helpful resources - [Qodex visualizer documentation]
- Handlebars.js docs (Qodex uses this library for visualizer templates)
Next step
Once you've finished, follow the instructions in submit
to submit your work