Assistance de TMDB

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

12 réponses (sur la page 1 sur 1)

Jump to last post

It is not possible to obtain several of these categories using the API.

  1. What's Popular - Streaming = NO
  2. What's Popular - On TV = Similar.
  3. What's Popular - For Rent = NO
  4. What's Popular - In Theaters = Similar.
  5. Free To Watch - Movies = NO
  6. Free To Watch - TV = NO

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.

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.

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. :-)

@ticao2 said:

It is not possible to obtain several of these categories using the API.

  1. What's Popular - Streaming = NO
  2. What's Popular - On TV = Similar.
  3. What's Popular - For Rent = NO
  4. What's Popular - In Theaters = Similar.
  5. Free To Watch - Movies = NO
  6. Free To Watch - TV = NO

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.

Hi, is there still no way to obtain the categories marked with a NO above?

@shahood said:

Hi, is there still no way to obtain the categories marked with a NO above?

Exactly.
Nothing changed.
It is not yet possible to get data from JustWatch using the TMDb API.

See below for the correct answer.

Sure they are, here's some basics to get you started:

  • Popular streaming (movies): /3/discover/movie?api_key=###&with_watch_monetization_types=flatrate&watch_region=US
  • Popular streaming (TV): /3/discover/tv?api_key=###&with_watch_monetization_types=flatrate&watch_region=US
  • Popular in theatres (movies): /3/discover/movie?api_key=###region=US&with_release_type=3&release_date.gte=###&release_date.lte=###
  • Popular on TV (TV): /3/discover/tv?api_key=###&timezone=America/Edmonton&air_date.gte=###&air_date.lte=###
  • Popular for rent (movies): /3/discover/movie?api_key=###&with_watch_monetization_types=rent&watch_region=US
  • Free To Watch (movies): /3/discover/movie?api_key=###&with_watch_monetization_types=ads|free&watch_region=US
  • Free To Watch (TV): /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)

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:

  • Popular streaming (movies): /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.

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.

I don't see any mention of with_ott_monetization_types in the docs. Do with_ott_monetization_types and with_watch_monetization_types serve the same purpose?

Ah yes, that’s a typo on my part. with_watch_monetization_types is the correct filter.

@travisbell said:

Ah yes, that’s a typo on my part. with_ott_monetization_types is the correct filter.

Umm, u mean with_watch_monetization_types is the correct filter....right? Because, with_ott_monetization_types is not mentioned in the docs.

I really do. Typo x 2. Serves me right for trying to do this on my phone. wink

Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.

Général

s Mettre le curseur dans la barre de recherche
p Ouvrir le menu du profil
esc Fermer une fenĂŞtre ouverte
? Ouvrir la fenĂŞtre des raccourcis clavier

Sur les pages des médias

b Retour (ou vers le parent si faisable)
e Afficher la page de modification

Sur les pages des saisons des émissions télévisées

Afficher la saison suivante (flèche droite)
Afficher la saison précédente (flèche gauche)

Sur les pages des épisodes des émissions télévisées

Afficher l'épisode suivant (flèche droite)
Afficher l'épisode précédent (flèche gauche)

Sur toutes les pages des images / photos

a Ouvrir la fenĂŞtre d'ajout d'image / photo

Sur toutes les pages de modifications

t Ouvrir le sélecteur de traduction
ctrl+ s Envoyer le formulaire

Sur les pages des discussions

n Créer une nouvelle discussion
w Basculer le statut de suivi
p Basculer publique / privée
c Basculer fermer / ouvrir
a Ouvrir l'activité
r RĂ©pondre Ă  la discussion
l Afficher la dernière réponse
ctrl+ enter Envoyer votre message
Page suivante (flèche droite)
Page précédente (flèche gauche)

Paramètres

Vous souhaitez évaluer ou ajouter cet élément à une liste ?

Connexion