python - imgur API - lots of credits left but ImgurClientRateLimitError: Rate-limit exceeded -
i'm using python imgur client uploads i'm getting
imgurclientratelimiterror: rate-limit exceeded!
i've done near 500 api requests hour , current credits like:
{ u'clientlimit': 12500, u'clientremaining': 12500, u'userlimit': 500, u'userremaining': 500, u'userreset': 1429698684 }
i've gone on docs here https://api.imgur.com/#limits can't find indicate why getting rate limit error.
does know why i'm getting this?
my specific upload call looks like
x = imgur_client.upload_from_url(url, config=none, anon=true)
-------- update -----
here's screenshots of stats in mashape. don't see how possibly anywhere near limit.
for encountering this, solution make sure send mashape key in http headers.
at time made post, wasn't supported in default imgur python library now.
https://github.com/imgur/imgurpython/blob/master/imgurpython/client.py#l76
Comments
Post a Comment