Announcements

Help Wizard

Step 1

NEXT STEP

Get song sample without premium plan

Solved!

Get song sample without premium plan

Plan

Free

Country

Germany

Device

-

Operating System

angular2+ application

 

My Question or Issue

Hello,
I am currently programming a music quiz game. My plans are to play a 10 second sample of a song. However I don't want the user to log into his spotify account to play the game. Is it possible to get a 10s sample of a song only with the client_id and client_secret?

Kind regards,
Gr4ph1xZ 

Reply

Accepted Solutions
Marked as solution

I just found out that the when getting the song meta data there is also a preview_url in the json. It contains a 30sec preview of the song. So it is possible to get a sample without the need of a user logging in.

View solution in original post

3 Replies

No.

Too bad... do you know if there is a other music api that supports this feature?
Marked as solution

I just found out that the when getting the song meta data there is also a preview_url in the json. It contains a 30sec preview of the song. So it is possible to get a sample without the need of a user logging in.

Suggested posts