Assistance de TMDB

I am using the watch-providers endpoint (https://developers.themoviedb.org/3/movies/get-movie-watch-providers) to get access to which services are available to watch a movie on.

I notice that the response returns "buy" (which services you can buy it from), "rent" (to rent from), and "link", which redirects me to a TMDB website. But there is no response that returns where it is streaming.

What I find weird is that on the TMDb website, I can actually view the streaming services the movie is on. For example: https://www.themoviedb.org/movie/505642-black-panther-wakanda-forever/watch?locale=US This shows what service Black Panther is streaming on.

How can I get that through the API?

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

Jump to last post

@TMDBwahwahwah said:
How to get streaming services through the API?
I am using the watch-providers endpoint (https://developers.themoviedb.org/3/movies/get-movie-watch-providers) to get access to which services are available to watch a movie on.

I notice that the response returns "buy" (which services you can buy it from), "rent" (to rent from), and "link", which redirects me to a TMDB website.
But there is no response that returns where it is streaming.

What I find weird is that on the TMDb website, I can actually view the streaming services the movie is on.
For example: https://www.themoviedb.org/movie/505642-black-panther-wakanda-forever/watch?locale=US
This shows what service Black Panther is streaming on.

How can I get that through the API?

If I understand correctly, you can't.
All data is provided by JustWatch.
In the agreement with them we can only inform, via our API, who is providing the service.
But we cannot provide the direct link to the movie page on the streaming service.
It is necessary to use the JustWatch link that is on the website page.
This is how JustWatch earns revenue.

It depends what you're asking specifically about @TMDBwahwahwah. If it's just a list of the streaming providers, those are provided in the same response you already mentioned, under the flatrate key.

If you want to get the full deep link, @ticao2 is right. We do not provide that data on the API, and you'll have to link to our /watch pages.

Cheers.

@ticao2 said:

@TMDBwahwahwah said:
How to get streaming services through the API?
I am using the watch-providers endpoint (https://developers.themoviedb.org/3/movies/get-movie-watch-providers) to get access to which services are available to watch a movie on.

I notice that the response returns "buy" (which services you can buy it from), "rent" (to rent from), and "link", which redirects me to a TMDB website.
But there is no response that returns where it is streaming.

What I find weird is that on the TMDb website, I can actually view the streaming services the movie is on.
For example: https://www.themoviedb.org/movie/505642-black-panther-wakanda-forever/watch?locale=US
This shows what service Black Panther is streaming on.

How can I get that through the API?

If I understand correctly, you can't.
All data is provided by JustWatch.
In the agreement with them we can only inform, via our API, who is providing the service.
But we cannot provide the direct link to the movie page on the streaming service.
It is necessary to use the JustWatch link that is on the website page.
This is how JustWatch earns revenue.

Oh no, I don't need the link, I just want to return the list of streaming services it is on.

@travisbell said:

It depends what you're asking specifically about @TMDBwahwahwah. If it's just a list of the streaming providers, those are provided in the same response you already mentioned, under the flatrate key.

If you want to get the full deep link, @ticao2 is right. We do not provide that data on the API, and you'll have to link to our /watch pages.

Cheers.

Based on what you are saying, flatrate seems to be what I am looking for.

Using the black panther example in the opening past, I just want to get info as to what streaming service it's on (disney plus)... I do not actually need to go to the page itself.

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