Using libspotify for a web-based application

2019-08-29 04:48发布

I simply am wondering if the only way to have any sort of spotify application be web-based, as opposed to app-based, would be to have it as a Spotify app within the Spotify application or if it's possible to have it standalone.

标签: spotify
1条回答
聊天终结者
2楼-- · 2019-08-29 05:33

It sounds like you're getting confused between our APIs.

  • Spotify Apps is a platform inside our Spotify client. You write them using HTML5/JavaScript. They're run locally, but you can have it talk to a backend service if you wish.

  • Spotify's Web API provides HTTP REST services for search and metadata lookup.

  • libSpotify is for standalone native applications. You can have that application host a web service — there are Ruby bindings, for instance — but there are a few Terms of Service you need to be aware of concerning logging in as a user from your own service. You can find the ToS on http://developer.spotify.com.

查看更多
登录 后发表回答