The Movie Database 支持

Getting the following when running any of these queries

https://api.themoviedb.org/3/tv/1405?api_key=####&language=en-US&append_to_response=Keywords

https://api.themoviedb.org/3/tv/1405?api_key=####&language=en-US&append_to_response=Credits

https://api.themoviedb.org/3/tv/1405?api_key=####&language=en-US&append_to_response=Keywords,Credits

https://api.themoviedb.org/3/tv/1405?api_key=####&language=en-US

It should be noted that the append works fine with the Credits if just looking at a season using append_to_response=Credits, but not when looking at the overall TV Show

Also the Get Credits & Get Keywords as separate queries on a TV are working fine

OUTPUT

{"backdrop_path":"/kgadTwNJYYGZ7LTrw9X7KDiRCfV.jpg","created_by":[{"id":1223737,"name":"James Manos, Jr.","profile_path":null}],"episode_run_time":[50],"first_air_date":"2006-10-01","genres":[{"id":18,"name":"Drama"},{"id":9648,"name":"Mystery"}],"homepage":"http://www.sho.com/sho/dexter/home","id":1405,"in_production":false,"languages":["en"],"last_air_date":"2013-09-22","name":"Dexter","networks":[{"id":67,"name":"Showtime"}],"number_of_episodes":96,"number_of_seasons":8,"origin_country":["US"],"original_language":"en","original_name":"Dexter","overview":"Dexter is an American television drama series. The series centers on Dexter Morgan, a blood spatter pattern analyst for 'Miami Metro Police Department' who also leads a secret life as a serial killer, hunting down criminals who have slipped through the cracks of justice.","popularity":6.499141,"poster_path":"/ydmfheI5cJ4NrgcupDEwk8I8y5q.jpg","production_companies":[{"name":"Showtime Networks","id":4343},{"name":"The Colleton Company","id":12261},{"name":"John Goldwyn Productions","id":17594},{"name":"Clyde Phillips Productions","id":17595},{"name":"Devilina Productions","id":17596}],"seasons":[{"air_date":"2009-10-25","episode_count":29,"id":59533,"poster_path":"/mc1Fs5CVHL6IqrcNCZ39d6oIp7Z.jpg","season_number":0},{"air_date":"2006-10-01","episode_count":12,"id":59499,"poster_path":"/bNC5EEc6aPAMhKLvf38JiVwL7o0.jpg","season_number":1},{"air_date":"2007-09-30","episode_count":12,"id":59500,"poster_path":"/rmmM5BxZhKBdFrqbV2WtJXEFDFC.jpg","season_number":2},{"air_date":"2008-09-28","episode_count":12,"id":59502,"poster_path":"/hKnNXXGuDve9kpQhBhcvR2UjVnd.jpg","season_number":3},{"air_date":"2009-09-27","episode_count":12,"id":59504,"poster_path":"/gpUBFwYu4RYfnp8zFB6tPTCDNnH.jpg","season_number":4},{"air_date":"2010-09-26","episode_count":12,"id":59506,"poster_path":"/lVXU7UkGLjuK0uy30tQ9aef6snj.jpg","season_number":5},{"air_date":"2011-10-02","episode_count":12,"id":59509,"poster_path":"/bifDTP8oxGPsQUMryu3J8FqCoWV.jpg","season_number":6},{"air_date":"2012-09-30","episode_count":12,"id":59510,"poster_path":"/7AV18mZdBzPIDFC3HYjjPN5EJLK.jpg","season_number":7},{"air_date":"2013-06-30","episode_count":12,"id":59512,"poster_path":"/aoEIGNIxYLXTBHKUrJoSuKGKU0F.jpg","season_number":8}],"status":"Ended","type":"Scripted","vote_average":7.8,"vote_count":289}

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

Jump to last post

My first instinct would be it's because you're using the method names with capital letters. Everything is looking right to me (I think) with these queries:

https://api.themoviedb.org/3/tv/1405?api_key=###&language=en-US&append_to_response=keywords
https://api.themoviedb.org/3/tv/1405?api_key=###&language=en-US&append_to_response=credits
https://api.themoviedb.org/3/tv/1405?api_key=###&language=en-US&append_to_response=keywords,credits

ah a PICNIC (problem in chair, not in computer)! Thanks for the response mate, having a 'senior' moment

No worries 😉

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

全站通用

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

在媒体页面

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

在电视季页面

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

在电视集页面

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

在所有图像页面

a 打开添加图片窗口

在所有编辑页面

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

在讨论页面

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

设置

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

登录

还不是会员?

注册加入社区