Streaming Availability

フリーミアム
Verified
よって Movie of the Night | 更新済み 6 giorni fa | Movies
人気

9.9 / 10

レイテンシー

584ms

サービスレベル

100%

Health Check

N/A

すべてのディスカッションに戻る

Upgraded to Pro but still getting 100 request limit

Heyo, I upgraded my plan to Pro to get the 30,000 request limit, however, the API still thinks I’m on the basic Plan when using the GET Basic call. I updated my API key, but not sure why its not recognizing my new subscription?

Here is my current code:

`function getStreamAvailability (mediaId) {
try{
return fetch(“https://streaming-availability.p.rapidapi.com/get/ultra?imdb_id=” + mediaId + “&output_language=en”, {
“method”: “GET”,
“headers”: {
“x-rapidapi-host”: “streaming-availability.p.rapidapi.com”,
“x-rapidapi-key”: " "
}
}).then(function (response){
if(response.status === 404){
console.log(‘sorry this movie isn’t availible’);
} else {
return response.json().then(function (data) {
console.log(“streamAvail:”, data);
var banner = data.posterURLs.original;
var desc = data.overview;
var cast = data.cast;
var strmSrvc = data.streamingInfo;

        }).catch(err => {
            console.error('error in .json: ', err)
        })
        }
    })
    .catch(err => {
        console.error('error in fetchL ', err);
    });
} catch(err) {
  console.log('error in catch block', err)
}

}

This is what the output looks like:

https://share.getcloudapp.com/bLux89mx

Rapid account: Dokkenemily Sr Tz O V Jar
dokkenemily-srTzO_vJar Commented 2 anni fa

I updated to the Ultra Plan in order to use the Ultra Endpoint thinking that would do that trick and still no luck, very weird.

Rapid account: Cevatbarisyilmaz
cevatbarisyilmaz Commented 2 anni fa

The code snippet you posted exposes your API key, it’d be better if you remove it from the post as other people can use it to send requests over your quota.

Also the in the code snippet you use get/ultra endpoint, which is only available for Ultra and Mega plans. That might be the cause of your issues.

Rapid account: Dokkenemily Sr Tz O V Jar
dokkenemily-srTzO_vJar Commented 2 anni fa

Thank you! I’ll reach out to RapidAPI support as well!

Rapid account: Cevatbarisyilmaz
cevatbarisyilmaz Commented 2 anni fa

Hi, RapidAPI itself handles the request quotas, we don’t have any control over it as the API owners. Sometimes it takes awhile for RapidAPI to adjust the subscription changes but if it has been going on more than an hour you can try to contact RapidAPI support.

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿