有没有办法在不升级的情况下超越Newsapi中的426误差?
因此,我在尝试从设备提出请求时需要获得426:升级。我搜索了它,发现他们说:“它可以从后端固定”。
So, I am getting the 426:upgrade required while trying to make requests from a device. I searched about it and somewhere I found out that they said, "It can be fixed from backend" how?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您正在最大化分配的每日请求,根据 https://newsapi.org/pricing 您只能得到每层的有限量(假设您使用的是免费层),您将无法通过明智地存储响应而不是每次拨打API,而无需升级或执行限制控制,则某些人确实在多个API键之间加载平衡(这不是我建议的);您要么不得不更聪明地使用配额,要么因为您诚实地使用了该服务,请支付其他插槽。
You're maxing out your allotted daily requests, as per https://newsapi.org/pricing you only get a limited amount per tier (assuming you are using the free tier) you cannot bypass this without upgrading or doing limit control on your end by storing the responses wisely instead of calling the API every time, some people do load balancing between multiple API keys (which isn't something I would recommend); you would either have to utilize your quota smarter or since your are honestly using the service, pay for additional slots.