Is there a way to return data for multiple movie ids? I am trying to do something like this: http://api.themoviedb.org/3/movie/11,90?api_key=[blah] , but it's only returning the first movie. My main goal is to query a movie list and then get more info (such as duration) on each movie in that list. Is there just a way I can add a param to include more info in a list request?
¿No encuentras una película o serie? Inicia sesión para crearla:
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Contestado por Travis Bell
el 12 de agosto de 2013 a las 16:36
Hi rustybailey,
We do not currently have the ability to query multiple ids at once.
Contestado por rustybailey
el 12 de agosto de 2013 a las 17:05
So if I want info on 50 movies, is themoviedb API's standard usage to send out 50 requests, or is there a more efficient way to do this?
Contestado por Travis Bell
el 12 de agosto de 2013 a las 22:42
Hi rustybailey,
50 requests. There is no other way.
Contestado por angelxmoreno
el 7 de septiembre de 2013 a las 01:11
One thing to note @rustybailey is the limitation of 20 simultaneous connections and the fact the curl lets you make concurrent connections using multiCurl - here is an example of it http://multicurl.nisu.org/ - this might help make those 50 calls faster
Contestado por Tomáš
el 24 de agosto de 2016 a las 19:36
Hi, has the situation changed anyhow after almost three years? I have a list of 15 IDs and need to show movie posters and titles. Now I do it in a loop but it is terribly slow. Please, surprise me and inform me about a new, more efficient, method.
Thank you!
Contestado por Travis Bell
el 24 de agosto de 2016 a las 19:41
Hi T.I.P,
No this has not changed.
Contestado por nkallen
el 20 de octubre de 2016 a las 19:28
I'm really happy with the TMDB API so far. But I really wish you had a multiget interface though! GET /movies/?id=1,2,3 would be nice and restful...
Currently my code sends parallel requests, and in order to avoid getting 429 rate limited I have to batch them at a controlled frequency. The code is a bit of a hassle and I'm sure it's more resource-intensive on your servers than you would like!
Contestado por Travis Bell
el 21 de octubre de 2016 a las 01:15
Hi nkallen,
Thanks for the note. We don't have any plans to change this right now.
Contestado por Alexey
el 11 de julio de 2017 a las 00:36
Another year passed, any chance? This is really necessary feature. Thanks!
Contestado por Travis Bell
el 11 de julio de 2017 a las 00:53
Hi Alexey, there are still no plans for this. There's some potential changes up and coming around rate limits and before that were to ever change it could make sense to look at a multi get. But for now nothing is planned.
Contestado por toshik
el 14 de septiembre de 2017 a las 22:31
i was curious any change to be able to use this ?? I started building my android app few months ago and now its been put on halt because of this can you help?
Contestado por Travis Bell
el 16 de septiembre de 2017 a las 01:18
Hi @toshik There has been no change with regards to this.
Contestado por toshik
el 16 de septiembre de 2017 a las 02:01
hi @travisbell thanks for reply
I know this is for the good and ethical practices that is one should not store any data, not even movie id,
would it be problem if i save movie id and movie name on user machine(mobile android) not on the server solely on user device as saved movies?
Contestado por Travis Bell
el 18 de septiembre de 2017 a las 22:44
We have no problems with you caching the data. That is perfectly fine.
Contestado por Chris Krueger
el 28 de septiembre de 2017 a las 00:16
I can also fully agree with the previous post! :) We need a query for multiple movies! It blow up with too much requests when my app is running :D This is my only bottleneck...