键盘快捷键
高级搜索
Hey guys,
Are there any plans to support this feature? This could be used to check if there is any "The Walking Dead" episode airing today, for example.
Cheers!
Hi HelloTiago,
The only thing you can do right now that is episode based is call the airing_today method:
airing_today
http://api.themoviedb.org/3/tv/airing_today?api_key=###
This is the same list you'll find on the website: https://www.themoviedb.org/tv/airing-today
We don't have a specific episode search by date method at this time.
Please note, the airing_today method does not currently support passing in a timezone to offset what "today" is. I have an outstanding ticket about that here.
Hey Travis,
Oh I hadn't noticed that method, I'll see if I can work something out with that.
Thanks!
FYI—You can now pass a timezone into the /3/airing_today method.
A simple example, checking the list of shows that air today in Calgary:
http://api.themoviedb.org/3/tv/airing_today?api_key=###&timezone=America/Edmonton
Vs. the shows that are airing today in Sydney:
http://api.themoviedb.org/3/tv/airing_today?api_key=##&timezone=Australia/Sydney
What this is actually doing is calculating the offset from UTC GMT, so in this case (as I'm writing this) it's the 22nd of March in Sydney.
找不到电影或节目?登录并创建它吧。
登录
注册
想给这个条目评分或将其添加到片单中?
还不是会员?
注册加入社区
Travis Bell 的回复
于 2014 年 03 月 17 日 10:48上午
Hi HelloTiago,
The only thing you can do right now that is episode based is call the
airing_today
method:This is the same list you'll find on the website: https://www.themoviedb.org/tv/airing-today
We don't have a specific episode search by date method at this time.
Please note, the
airing_today
method does not currently support passing in a timezone to offset what "today" is. I have an outstanding ticket about that here.Tiago Duarte 的回复
于 2014 年 03 月 18 日 3:18下午
Hey Travis,
Oh I hadn't noticed that method, I'll see if I can work something out with that.
Thanks!
Travis Bell 的回复
于 2014 年 03 月 21 日 11:28上午
FYI—You can now pass a timezone into the /3/airing_today method.
A simple example, checking the list of shows that air today in Calgary:
http://api.themoviedb.org/3/tv/airing_today?api_key=###&timezone=America/Edmonton
Vs. the shows that are airing today in Sydney:
http://api.themoviedb.org/3/tv/airing_today?api_key=##&timezone=Australia/Sydney
What this is actually doing is calculating the offset from UTC GMT, so in this case (as I'm writing this) it's the 22nd of March in Sydney.