traktflix icon indicating copy to clipboard operation
traktflix copied to clipboard

themoviedb.org API over request limit

Open R-K-H opened this issue 5 years ago • 4 comments

When loading multiple pages the total number of requests is over the limit.

{
"status_code":25,
"status_message":"Your request count (54) is over the allowed limit of 40."
}

As per their documentation https://developers.themoviedb.org/3/getting-started/request-rate-limiting Our current limits are 40 requests every 10 seconds and are limited by IP address, not API key.

I would imagine adding in a fixed limit to prevent going over would be advised for performance and expected behavior.

R-K-H avatar Apr 07 '19 09:04 R-K-H

I was actually thinking about removing the TMDb API. It's only used for retrieving images, and I'm pretty sure I can retrieve images from the Netflix API.

rafaelgomesxyz avatar Apr 08 '19 13:04 rafaelgomesxyz

I think that's sound, otherwise a check mark would do but I think the image is a nice touch to let people know what they have seen / are watching.

R-K-H avatar Apr 08 '19 20:04 R-K-H

@smoothlystable Still, it would be wise to use a server to store the TMDb URLs in a database to reduce the number of requests. I'm going to be working on this soon.

rafaelgomesxyz avatar Apr 23 '20 13:04 rafaelgomesxyz