Firstly wanted to say love the support and the API, really appreciative to the amazing developers and community contributors!!!
Context: Building a website with rows of content from discover endpoint and each row has poster.
Calling discover endpoint for each row. However, I need specific properties that discover doesn't return:
For these properties I'm calling movies/details or tv-shows/details: english_backdrop: Since the posters are horizontal with no embedded title, I need the English backdrop for each poster. I append_to_response the image endpoint for details Runtime: On hover for movies I show runtime Seasons: On hover for shows I show seasons
I have roughly 25 rows with 20 posters each - so total of 25 discover + (25 * 20 details) = 525 requests per page per user. This is obviously higher than the limit of 50 requests per second. The API rate limits are per IP address. But my requests are sent via cloud functions to prevent users from seeing my API key. That mean that there's only 1 IP address, my server IP.
The only solution I have is to hardcode my API key to my users and have their site make the API calls with their unique IP address. However, revealing my API key is obviously not ideal.
Workarounds that would help me but currently don't exist:
I don't think theres any other solution / workaround so I'm going to proceed with giving my API key to my users. Posting mostly to inform and suggest future solutions that would need to be built. Thank you!
Ne možete pronaći film ili TV seriju? prijavite se da biste ga napravili.
Want to rate or add this item to a list?
Not a member?
Odgovorio Respearme
dana 11 prosinac 2023 u 7:06 AM
@Travis Bell #Travis Bell Pinging Travis just because this is less of an API support question and more of an API limitation.