如何运行简单的 Spotify 应用程序
我想使用 Spotify API 开发一个应用程序。我已经下载了适用于 Windows 的 Spotify 库,并在环境变量中设置了 spotify.dll
的路径。我正在尝试运行 Spotify 开发人员网站上提供的简单“hello word”示例,但我在使用 Spotify 功能时遇到错误
getSpotifyApi(1);
我不知道这个功能具体是做什么的。
是否需要将API_key
放在代码文件中?我目前 Spotify 库中没有 appkey.c
文件。运行简单应用程序是否需要 API_key
和 appkey.c
文件?运行简单示例是否有其他要求?
I want to develop an app with the Spotify API. I have downloaded the Spotify library for Windows and also set path in environmental variables for spotify.dll
. I am trying to run the simple "hello word" example available on the Spotify developers site but I am getting an error with the Spotify function
getSpotifyApi(1);
I don't know what exactly this function does.
Is it required to put API_key
in code file? I don't have the appkey.c
file in Spotify library right now. Are API_key
and the appkey.c
file required for running simple applications? Are there additional requirements for running simple examples?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的代码和您的问题在 Apps API 和 LibSpotify 之间混淆。
如果您想在 Spotify 内创建应用程序,请转到此处获取示例和资源:http: //developer.spotify.com/en/spotify-apps-api/overview/
如果您想制作自己的包含 Spotify 功能的应用程序,请转到此处:http://developer.spotify.com/en/libspotify/overview/
Your code and your question is confused between the Apps API and LibSpotify.
If you want to make applications INSIDE Spotify, go here for examples and resources: http://developer.spotify.com/en/spotify-apps-api/overview/
If you want to make your own applications that contain Spotify functionality, go here: http://developer.spotify.com/en/libspotify/overview/