我怎么知道我的IP被列入黑名单的Deezer API? [英] How do I know if my IP is blacklisted for Deezer API?

查看:330
本文介绍了我怎么知道我的IP被列入黑名单的Deezer API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的本地机器,我访问网址 HTTP://api.deezer .COM / 2.0 /搜索/艺术家?q =馈线并得到正确的JSON数据返回。在我活的服务器,我蜷缩相同的URL,并获得返回的JSON。

On my local machine, I visit the url http://api.deezer.com/2.0/search/artist?q=feeder and get the correct json data returned. On my live server, I curl the same url, and get returned the json.

{"data":[],"total":0}

http状态code是200,我不相信,我已经打了速率限制,具有类似的负载我的本地机器上被测试。

http status code is 200, and I don't believe I've hit the rate limit, having tested on my local machine with a similar load.

我只能怀疑有人在服务器上的其他人(在这里共享主机),已经达到了API,得到了黑名单,或者当速率限制被击中,但没有这个事实通知他们仍然作出回应。

I can only suspect that someone else on the server (On a shared host here), has hit the API and got blacklisted, or they still respond when a rate limit is hit but with no notification of that fact.

任何人有什么建议吗?目前,短的​​等待了几个小时,试图再次,我难倒。

Anyone got any suggestions? Currently short of waiting a few hours and trying again, I'm stumped.

(P.S。任何人只要有足够的代表希望做一个的Deezer的标签?)

(P.S. Anyone with enough rep want to make a "Deezer" tag?)

推荐答案

我要求的Deezer开发者这个确切的问题。答案是,你需要有一个访问令牌,以这种方式消耗的数据。

I asked this exact question to Deezer devs. The answer is that you need to have an access token to consume the data this way.

查看更多在这里: http://developers.deezer.com/api/oauth

这篇关于我怎么知道我的IP被列入黑名单的Deezer API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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