如何通过 Spotify Web API 获取收听分钟数?
我想获取登录用户收听的分钟数。
最初,我想到 获取用户最喜欢的项目,然后使用每个曲目的长度和播放次数进行计算,但响应没有给出播放次数,并且可以获得的最大项目数限制为 50。
我很确定这是可以做到的,因为这个网站做到了。
I want to get the minutes listened for the signed in user.
There is no straight-forward way to do so mentioned in the docs.
Initially, I thought of getting user's top items and then calculating using each track's length and times played, but the response doesn't give the times played and the maximum number of items that can be obtained is limited to 50.
I'm pretty sure that this can be done because this website does it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论