The Movie Database 支持

Hi guys, Is there any endpoint on the API to get the tv shows by a keyword ID like the movies endpont. If not, how can i get all the tv shows for a certain genre?

Thanks for your great work grinning

2 回复(第 1 页,共 1 页)

Jump to last post

I found what i was looking for:

https://developers.themoviedb.org/3/discover/tv-discover

Sorry.

But i don't found a parameter with_keywords like the movies have, how can i filter then for keywords?

Okey i notice that with_keywords is working but without_keywords is trhowing me this error:

This is the query: https://api.themoviedb.org/3/discover/tv?api_key=XXXXXXXXXXXX&language=en-US&sort_by=first_air_date.desc&page=1&timezone=America/New_York&include_null_first_air_dates=false&without_keywords=210024

  ...rrent/cache/luarocks/share/lua/5.1/lapis/application.lua:396: ...-api/current/models/elasticsearch/discover_tv_series.lua:42: attempt to call method 'without_keywords' (a nil value)

stack traceback: ...-api/current/models/elasticsearch/discover_tv_series.lua: in function 'default_query' ...-api/current/models/elasticsearch/discover_tv_series.lua:116: in function 'discover' ...ployed/tmdb-lua-api/current/applications/v3/discover.lua:54: in function <...ployed/tmdb-lua-api/current/applications/v3/discover.lua:50 stack traceback: [C]: in function 'error' ...rrent/cache/luarocks/share/lua/5.1/lapis/application.lua:396: in function 'handler' ...rrent/cache/luarocks/share/lua/5.1/lapis/application.lua:130: in function 'resolve' ...rrent/cache/luarocks/share/lua/5.1/lapis/application.lua:161: in function <...rrent/cache/luarocks/share/lua/5.1/lapis/application.lua:159> [C]: in function 'xpcall' ...rrent/cache/luarocks/share/lua/5.1/lapis/application.lua:159: in function 'dispatch' ...api/current/cache/luarocks/share/lua/5.1/lapis/nginx.lua:214: in function <...api/current/cache/luarocks/share/lua/5.1/lapis/nginx.lua:212>

找不到电影或节目?登录并创建它吧。

全站通用

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

在媒体页面

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

在电视季页面

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

在电视集页面

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

在所有图像页面

a 打开添加图片窗口

在所有编辑页面

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

在讨论页面

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

设置

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

登录

还不是会员?

注册加入社区