Hello, I am kind of a noob at this.
I am trying to search and query for movie and tv show details.
(https://api.themoviedb.org/3/search/movie?api_key={api_key}&query=Jack+Reacher)
Now I can't seem to find "runtime" in the results of the search.
Is it possible to get the runtime of a searched movie or tv show?
If possible, how?
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by ticao2 š§š· pt-BR
on March 7, 2022 at 9:26 AM
In the response from your Search API Request example, each of the items has an ID .
Knowing the ID of the item you are looking for (Movie, TV Show, People etc ...)
we go to the second step which is to obtain the complete information of the item,
making a Request of the type Get / Info or Get / Details.
For each type of item there is a specific API Request to obtain Basic Information.
Movie = https://developers.themoviedb.org/3/movies/get-movie-details
TV Show = https://developers.themoviedb.org/3/tv/get-tv-details
People = https://developers.themoviedb.org/3/people/get-person-details
Company = https://developers.themoviedb.org/3/companies/get-company-details
Network = https://developers.themoviedb.org/3/networks/get-network-details
Collection = https://developers.themoviedb.org/3/collections/get-collection-details
keyword = https://developers.themoviedb.org/3/keywords/get-keyword-details
For each of the Items, there are variations of API Request
to obtain other Item information. more specific information.
These API Request variations can be found in the menu
to the left of each of the Links informed above.
Reply by 1mpuls3
on March 26, 2022 at 10:08 AM
Thank you