Using libspotify for a web-based application

余生颓废 提交于 2019-12-12 05:57:08

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/11191001/using-libspotify-for-a-web-based-application

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!