Does UserLimit apply for paid app?

30 views
Skip to first unread message

some...@gmail.com

unread,
Apr 27, 2015, 6:04:52 AM4/27/15
to im...@googlegroups.com
I signed up a paid app at Mashape, my plan is to use it on my website, allow users upload and delete imgur images (anonymously).

I am just confusing is there any UserLimit for paid app, because my app will be only called by my server IP.


Another question is that how to check rate limit? I use the following code that always return blank page to me. ( IMGUR_CLIENT_ID and IMGUR_MASHAPE_KEY are already defined correctly)


$curl = curl_init();

curl_setopt($curl, CURLOPT_HTTPHEADER, array(
'Authorization: Client-ID ' . IMGUR_CLIENT_ID,
'X-Mashape-Key: ' . IMGUR_MASHAPE_KEY
));

$url = 'https://imgur-apiv3.p.mashape.com/3/credits';



curl_setopt($curl,CURLOPT_URL, $url);
curl_setopt($curl,CURLOPT_RETURNTRANSFER,true);

$output = curl_exec($curl);

curl_close($curl);

return $output; // $output is null

some...@gmail.com

unread,
Apr 27, 2015, 7:20:38 AM4/27/15
to im...@googlegroups.com
I add curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); and works.

I get those message:

{"data":{"UserLimit":500,"UserRemaining":500,"UserReset":1430136997,"ClientLimit":12500,"ClientRemaining":12500},"success":true,"status":200}


Can I request whitelist the UserLimit for my server ip?

@jasdev

unread,
Apr 27, 2015, 2:10:06 PM4/27/15
to im...@googlegroups.com
If you have a valid X-Mashape-Key header set, then IP rate-limits don't apply. You can check your usage via Mashape's dashboard (they handle our commercial tier).

Hope this clears up any confusion!

Jasdev

some...@gmail.com

unread,
Apr 27, 2015, 2:42:28 PM4/27/15
to im...@googlegroups.com
Thank you
Reply all
Reply to author
Forward
0 new messages