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?
Не вдалося знайти фільм або серіал? Увійдіть, щоб додати.
Хочете поставити оцінку чи додати до списку?
Немає акаунту?
Відповідь від ticao2 🇧🇷 pt-BR
за 26 березня 2023, 10:39 РАНКУ
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.
Відповідь від Travis Bell
за 28 березня 2023, 6:01 ВЕЧОРА
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.
Відповідь від TMDBwahwahwah
за 28 березня 2023, 9:58 ВЕЧОРА
Oh no, I don't need the link, I just want to return the list of streaming services it is on.
Відповідь від TMDBwahwahwah
за 28 березня 2023, 9:59 ВЕЧОРА
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.