How do I know if my IP is blacklisted for Deezer API?

眉间皱痕 提交于 2019-12-24 10:46:36

问题


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 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.

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. Anyone with enough rep want to make a "Deezer" tag?)


回答1:


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.

See more here: http://developers.deezer.com/api/oauth



来源:https://stackoverflow.com/questions/10278297/how-do-i-know-if-my-ip-is-blacklisted-for-deezer-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!