Dear TMDB API developers/supporters:
I am facing an issue where I am trying to create an api request so that I can get the results on the front page such as Popular and streaming, popular and on tv, popular and in theaters, popular and for rent, what's free and movies, what's free and tv, and last but not least how to search through the system.
If anyone could help me out I would greatly appreciate it.
Regards
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de ticao2 🇧🇷 pt-BR
le 1 juin 2020 Ă 09h27
It is not possible to obtain several of these categories using the API.
In the future, perhaps, depending on the conversations, it will be possible via API to receive results with Streaming.
What's Popular - On TV
https://developers.themoviedb.org/3/tv/get-popular-tv-shows
What's Popular - In Theaters
https://developers.themoviedb.org/3/movies/get-popular-movies
Click on the Try it out tab, enter your Key and your Language, and do the search.
RĂ©ponse de Tall-Lobster
le 1 juin 2020 Ă 17h52
Dear @ticao2 :
I really appreciate that you responded back to me regarding this and helped me get the respective links for what can be done with the API. I would like to know then if this was possible to get those requests with using the api requests in combination with something else?
Because I know TMDB uses JustWatch to figure out for example which content is being streamed, i was wondering if you had an ideas to do this.
Regards.
Réponse de ticao2 🇧🇷 pt-BR
le 2 juin 2020 Ă 12h51
Travis Bell has already clarified this issue for some users.
TMDb is not yet authorized to use JustWatch data in the API.
If I remember correctly, he said that there are talks but so far nothing has been resolved.
So, we have to wait. :-)
RĂ©ponse de shahood
le 24 février 2023 à 06h17
Hi, is there still no way to obtain the categories marked with a NO above?
Réponse de ticao2 🇧🇷 pt-BR
le 24 février 2023 à 10h42
Exactly.Nothing changed.It is not yet possible to get data from JustWatch using the TMDb API.See below for the correct answer.
RĂ©ponse de Travis Bell
le 24 février 2023 à 13h48
Sure they are, here's some basics to get you started:
/3/discover/movie?api_key=###&with_watch_monetization_types=flatrate&watch_region=US
/3/discover/tv?api_key=###&with_watch_monetization_types=flatrate&watch_region=US
/3/discover/movie?api_key=###region=US&with_release_type=3&release_date.gte=###&release_date.lte=###
/3/discover/tv?api_key=###&timezone=America/Edmonton&air_date.gte=###&air_date.lte=###
/3/discover/movie?api_key=###&with_watch_monetization_types=rent&watch_region=US
/3/discover/movie?api_key=###&with_watch_monetization_types=ads|free&watch_region=US
/3/discover/movie?api_key=###&with_watch_monetization_types=ads|free&watch_region=US
(I've edited my post to use the correct filters, that was a typo, my bad)
RĂ©ponse de shahood
le 24 février 2023 à 21h04
Woah! This discover endpoint is quite powerful. Thanks for sharing this info.
By the way, which of the filters in the first 5 is used to make sure only popular movie or TV titles are fetched? For example:
/3/discover/movie?api_key=###&with_watch_monetization_types=flatrate&watch_region=US
There is not even a sorting applied to make sure only popular titles come out.
RĂ©ponse de Travis Bell
le 24 février 2023 à 21h28
Hey @shahood,
All discover calls default to sorting by popularity so unless you want to sort them some other way, you don’t need to specify a sort option.
RĂ©ponse de shahood
le 25 février 2023 à 00h20
I don't see any mention of
with_ott_monetization_types
in the docs. Dowith_ott_monetization_types
andwith_watch_monetization_types
serve the same purpose?RĂ©ponse de Travis Bell
le 25 février 2023 à 01h15
Ah yes, that’s a typo on my part.
with_watch_monetization_types
is the correct filter.RĂ©ponse de shahood
le 25 février 2023 à 01h42
Umm, u mean
with_watch_monetization_types
is the correct filter....right? Because,with_ott_monetization_types
is not mentioned in the docs.RĂ©ponse de Travis Bell
le 25 février 2023 à 10h41
I really do. Typo x 2. Serves me right for trying to do this on my phone.