Spotify的API简单分为两个入口:
其中所有的授权相关验证都通过授权入口
进行,而所有正常获取数据的API请求都从API入口
进行。
Requests Rate Limit 请求限制次数
参考官网:Authorization Guide
参考官方Github Issues:Getting higher usage rate limits
其中只说了不同请求方式的限制次数有不同,但是没写具体有多少:
- Implicit Grant:次数最少,不能刷新token,数量未知。Rate limits for requests are improved but there is no refresh token provided.
- Client Credentials:次数较多一些,数量未知. The advantage here ... is that a higher rate limit is applied.
- Authorization Code:次数最多,具体数量未知。网友回答:With 400 users, this would work out at one request every 3.6 seconds, which I'm sure wouldn't trigger Spotify's rate limiting policy. 也就是说一个app大约
100 requests/second
,或6000 requests/minute
。
参考另一篇官网文档:https://developer.spotify.com...
"Rate limitin