Streaming Availability

ÜCRETSİZ PREMIUM
Verified
Taraf Movie of the Night | Güncelleyen 3 days ago | Movies
Popülerlik

9.9 / 10

Gecikme

588ms

Hizmet Düzeyi

100%

Health Check

N/A

Tüm Tartışmalara Dön

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 years ago

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 years ago

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 years ago

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

Rapid account: Cevatbarisyilmaz
cevatbarisyilmaz Commented 2 years ago

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.

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun