The Movie Database 支持

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 回复(第 1 页,共 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.

找不到电影或剧集?登录并创建它吧。

全站通用

s 聚焦到搜索栏
p 打开个人资料菜单
esc 关闭打开的窗口
? 打开键盘快捷键窗口

在媒体页面

b 返回(或返回上级)
e 进入编辑页面

在电视季页面

(右箭头)下一季
(左箭头)前一季

在电视集页面

(右箭头)下一集
(左箭头)前一集

在所有图像页面

a 打开添加图片窗口

在所有编辑页面

t 打开翻译选择器
ctrl+ s 提交

在讨论页面

n 创建新讨论
w 切换关注状态
p 设为公开 / 私密讨论
c 关闭 / 开放讨论
a 打开活动页
r 回复讨论
l 跳转至最新回复
ctrl+ enter 发送信息
(右箭头)下一页
(左箭头)前一页

设置

想给这个条目评分或将其添加到片单中?

登录

还不是会员?

注册加入社区