Hi, I'm beginner with the concept of api. I'd like to take the name of the director, actor, and the time of the movie by tmdb. I seen many post about found director but not in python... Could you help me ?
¿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 talestalker
el 2 de septiembre de 2019 a las 10:15
You need to request your own developer API key in your TMDB API settings. Then if you are looking for an easy and quick way to use our API, you can use some python wrapper library. You can find examples of python code on their github pages.
Contestado por smooki
el 2 de septiembre de 2019 a las 13:01
I can have the credit but i don't found the command for take the inforamtion only for director and actor
Contestado por talestalker
el 2 de septiembre de 2019 a las 14:49
You have to search for directors in movie.crew manually:
or in less fancy but more readable way:
As for actors, they are stored in movie.cast:
Contestado por smooki
el 2 de septiembre de 2019 a las 15:11
Thank you very much ! Two question: and for the film's duration ? What's meaning .crew ?
Contestado por talestalker
el 2 de septiembre de 2019 a las 15:25
Using tmdbsimple you can get movie runtime this way:
In tmdbsimple movie.crew and movie.cast are variables of object movie created after successful calling of function movie.credits(). Similarly, the variable movie.runtime is created after successful calling of function movie.info() (along with other variables like movie.title, movie.release_date and so on). Btw. you can get the same results from dict object returned by functions movie.credits() and movie.info():
is the same as
Contestado por smooki
el 2 de septiembre de 2019 a las 15:29
Okay, thank you for your support
Contestado por talestalker
el 2 de septiembre de 2019 a las 15:32
np
Contestado por tmdb41926221
el 20 de septiembre de 2021 a las 15:44
Could you please help me in getting this using JavaScript? Issue is some movie have director in credits and some do not. Help !!
Contestado por talestalker
el 21 de septiembre de 2021 a las 02:48
Sorry, I can help you with a python only. Try to look for some general advice on https://stackoverflow.com/
Contestado por esmaoruc
el 13 de marzo de 2024 a las 13:57
java????
Contestado por esmaoruc
el 13 de marzo de 2024 a las 13:58
java??