The Movie Database Подршка

Hi, I'd like to know if there is a method to query multiple ids in one request ? My application knows what ids to query, and they often are numerous. My problem is that I get stopped but the limitations in requests.

Thanks in advance !

9 одговора (на страни 1 од 1)

Jump to last post

As a side question, could you tell me what is the difference between a private and a commercial api_key ? Are commercial licences more "friendly" with numerous requests ? Are they free ?

Hi ,

I'd like to know if there is a method to query multiple ids in one request

No, there is no such way at this time and we don't have any plans for it. Just be sure to track the number of requests you make per second and don't go over 😉

As a side question, could you tell me what is the difference between a private and a commercial api_key ?

There is no difference from a request perspective. We track these independently purely for analytic reasons.

Thanks you for your quick answer Travis.

Is there any chance that we can discuss for a partnership ? The application I am building won't be able to run correctly without larger requests permissions. When the user installs it, he is encouraged to provide a folder which contains all of his movies files. The application will search the informations through your API (which means two requests by file, one with the title, then one with the id for more precise informations). Assuming that there can be 500 files in this folder, it will take at least something like 5 minutes for a single user. But this is not what I'm afraid of (5 minutes is not so long). My main fear is that more than 20 users pick there folder at the same time : the limitation of 20 ips will broke all requests. I can't control how many users are installing the application, and this will result in a bad feeling in the application.

Here is different solutions that would resolve my problem :

  • we can discuss for a business partnership, for example a little fee on each request
  • you could allow me to have multiple api keys (20 will be fine), so I can centralize the requests on a single distant server (note that I won't be requesting your servers all the time, it is just a secure approach)
  • you could increase my permissions (especially in number of simultaneous connections)
  • you could consider Christmas is approaching and offer me a full access to your database (I'm joking :) )

I ensure that your site will be promoted in the application, as a big part of its success.

I would understand your reticence, assuming you that the service you propose is free. But I really think that a partnership would be positiv for both of us. Thanks anyway for your great job with this API.

The rate limits are per IP, not API key. It's highly unlikely to cause you any trouble.

Cheers.

The documentation indicates a maximum of 20 connections (IPs) at a time by API key. What will happen if 30 users use the application at the same time ?

Hi mymovieslibrary,

Not by API key, that's what I already mentioned. The limits are strictly imposed by IP address, that is all. Should one of your individual users go over either 30 requests in 10 seconds or 20 simultaneous connections, they'll be faced with a 503 error. But that has no bearing on any of your other users.

Cheers.

Hi Travis, indeed I did not understand the things like that. Thank you for your precisions. But I still have one question : what do you mean so by "connections" ? Do you mean that even if the user can make 30 requests in a 10s period, he is not allowed to have 20 concurrent queries at a time ?

It's all about concurrency. If you programmed your app to connect 20 different connections all at once should a 21st attempt to connect it would error. This is all per IP though, so it has to do with individual users, not your application as a whole or API key.

Since most programs only access a single HTTP connection at a time, this is one of those things that I almost guarantee you, you will never see.

That's perfect ! Thank you very much !

Не можеш да нађеш филм или серију? Пријави се да додаш.

Глобално

s фокусирај траку за претрагу
p отворите мени профила
esc затворити отворени прозор
? отвори прозор пречице на тастатури

На страницама медија

b вратити се назад (или родитељу кад је то применљиво)
e иди на страницу за уређивање

На страницама ТВ сезона

(стрелица надесно) пређите на следећу сезону
(лева стрелица) иди на претходну сезону

На страницама ТВ епизода

(стрелица надесно) пређите на следећу епизоду
(лева стрелица) иди на претходну епизоду

На свим страницама са сликама

a отвори прозор за додавање слике

На свим страницама за уређивање

t отвори селектор превода
ctrl+ s пошаљи образац

На страницама за дискусију

n отвори нову дискусију
w мења статус гледања
p мења јавно/приватно
c мења отвори/затвори
a отвори активност
r одговор на дискусију
l иди на последњи одговор
ctrl+ enter пошаљи поруку
(стрелица надесно) следећа страница
(лева стрелица) претходна страница

Подешавања

Желите ли да оцените или додате ову ставку у листу?

Пријави се