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 ?
Fılmdi nemese kórsetimdi taba almadyńyz ba? Ony jasaý úshin kirińiz.
Want to rate or add this item to a list?
Not a member?
talestalker jaýaby
2019 Qyrkúıek 2 kúni 10:15 AM ýaqytynda
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.
smooki jaýaby
2019 Qyrkúıek 2 kúni 1:01 PM ýaqytynda
I can have the credit but i don't found the command for take the inforamtion only for director and actor
talestalker jaýaby
2019 Qyrkúıek 2 kúni 2:49 PM ýaqytynda
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:
smooki jaýaby
2019 Qyrkúıek 2 kúni 3:11 PM ýaqytynda
Thank you very much ! Two question: and for the film's duration ? What's meaning .crew ?
talestalker jaýaby
2019 Qyrkúıek 2 kúni 3:25 PM ýaqytynda
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
smooki jaýaby
2019 Qyrkúıek 2 kúni 3:29 PM ýaqytynda
Okay, thank you for your support
talestalker jaýaby
2019 Qyrkúıek 2 kúni 3:32 PM ýaqytynda
np
tmdb41926221 jaýaby
2021 Qyrkúıek 20 kúni 3:44 PM ýaqytynda
Could you please help me in getting this using JavaScript? Issue is some movie have director in credits and some do not. Help !!
talestalker jaýaby
2021 Qyrkúıek 21 kúni 2:48 AM ýaqytynda
Sorry, I can help you with a python only. Try to look for some general advice on https://stackoverflow.com/
esmaoruc jaýaby
2024 Naýryz 13 kúni 1:57 PM ýaqytynda
java????
esmaoruc jaýaby
2024 Naýryz 13 kúni 1:58 PM ýaqytynda
java??