Help Wizard

Step 1

NEXT STEP

how do i get the full song link

how do i get the full song link

Device

Watch

 

Operating System

Embedded

 

My Question or Issue

 

Hey folks, 

I use https://api.spotify.com/v1/me/player/recently-played WEB API to get the recently played list, the obtained preview_url song playback time is 30s or less, it is incomplete, how can I get it full song link.

thanks

Reply
3 Replies

You can find the Spotify link of the full song under:

data["items"][0]["track"]["external_urls"]["spotify"]

(You can replace data with your own variable name, and 0 with a variable to loop through all the tracks.)

Note: it's not possible to play a full song outside the Spotify this way.

If I make an app and use this interface, will it be unplayable?

thanks,If I make an app and use this interface, will it be unplayable?

Suggested posts