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 trobeu una pel·lícula o una sèrie? Inicieu la sessió per a crear-la.
Desitgeu valorar o afegir aquest element a una llista?
No n'ets membre?
Resposta per talestalker
el 2 n de 2019 a les 10:15 A.M.
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.
Resposta per smooki
el 2 n de 2019 a les 1:01 P.M.
I can have the credit but i don't found the command for take the inforamtion only for director and actor
Resposta per talestalker
el 2 n de 2019 a les 2:49 P.M.
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:
Resposta per smooki
el 2 n de 2019 a les 3:11 P.M.
Thank you very much ! Two question: and for the film's duration ? What's meaning .crew ?
Resposta per talestalker
el 2 n de 2019 a les 3:25 P.M.
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
Resposta per smooki
el 2 n de 2019 a les 3:29 P.M.
Okay, thank you for your support
Resposta per talestalker
el 2 n de 2019 a les 3:32 P.M.
np
Resposta per tmdb41926221
el 20 n de 2021 a les 3:44 P.M.
Could you please help me in getting this using JavaScript? Issue is some movie have director in credits and some do not. Help !!
Resposta per talestalker
el 21 n de 2021 a les 2:48 A.M.
Sorry, I can help you with a python only. Try to look for some general advice on https://stackoverflow.com/
Resposta per esmaoruc
el 13 l de 2024 a les 1:57 P.M.
java????
Resposta per esmaoruc
el 13 l de 2024 a les 1:58 P.M.
java??