Is there a way to search for ALL TV and shows at once, without having to click for to separate genre?. The closest thing I could find is the search with id and string, I don't know how to do any of that. If I could just search movie and TV all at once that would be awesome. Thank you so much :)
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 May 11, 2021 at 8:55 AM
I confess that I was not able to fully understand what your question is.
It would be easier to understand if you posted a specific case here.
Are you considering Film and TV Show as a genre?
The method will be explained for Movies at this link in the instructions:
https://developers.themoviedb.org/3/getting-started/search-and-query-for-details
For TV Show it is similar.
If what you want to search for is a TV Show Title, then there will always be two steps.
For example House MD
First do the title search to get the TV Show ID.
https://developers.themoviedb.org/3/search/search-tv-shows
https://api.themoviedb.org/3/search/tv?api_key=THE_KEY&language=en-US&query=House+MD
Then search for the complete TV Show data using the TV Show ID.
https://developers.themoviedb.org/3/tv/get-tv-details
https://api.themoviedb.org/3/tv/1408?api_key=THE_KEY&language=en-US
You can do the first step using the multi-search tool.
The search term will be searched for both TV Show and Movies.
Alias, will be searched in all areas.
Movies, tv shows and people in a single request.
https://developers.themoviedb.org/3/search/multi-search
https://api.themoviedb.org/3/search/multi?api_key=THE_KEY&language=en-US&query=House+MD
Reply by bigjosher
on May 11, 2021 at 3:07 PM
ok, you know how when you click on tv and then get a drop down with {airing today] and then it directs you to seaarch for tv shows. Instead of backing out and then going to [movies] to search for movies after I am done in tv, is there a way that I can search for movies to be in with the tv shows also? I have no idea how to do the api thing
Reply by ticao2 š§š· pt-BR
on May 11, 2021 at 4:11 PM
It is not possible to obtain the results of Movie and TV Show in a single API Request.
There are 2 API Requests for TV Show and a third, similar one, for Movies.
TV Show
https://developers.themoviedb.org/3/tv/get-tv-airing-today
https://developers.themoviedb.org/3/tv/get-tv-on-the-air
Movies
https://developers.themoviedb.org/3/movies/get-now-playing