Spotify的请求限制 [英] Limit of spotify requests

查看:158
本文介绍了Spotify的请求限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发使用Spotify的网络API的网站。

I am developing a site which uses the Spotify Web API.

在支持页面我还没有看到你多少个请求可以在块之前发送到API的任何信息。我的问题:

On the support page I haven't seen any information about how many requests you can send to the API before it blocks it. My question:


  • 是有要求的一定限制?

推荐答案

mod评论:

限速为签署请求根据端点,负载电流,产地等各不相同,但它应该总是比速率限制为无符号的要求更好,它应始终能够满足正常的使用。如果您定期命中率限制,可以考虑使用条件的要求,利用缓存机制,调整页面的限制,等等。

The rate limit for signed requests varies according to the endpoint, current load, origin, etc., however it should always be better than the rate limit for unsigned requests and it should always be sufficient for normal use. If you are hitting rate limits on a regular basis, consider using conditional requests, making use of caching mechanisms, adjusting paging limits, etc.

因此​​,他们不指定限制时,动态计算,所以没有办法来控制开发商的请求限制。

So they do not specify the limit, they calculate it dynamically, so no way to control the request limit for the developer.

这篇关于Spotify的请求限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆