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!
Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.
Хотите поставить оценку или добавить в список?
Нет аккаунта?
Ответ от Travis Bell
, 17 марта 2014 в 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
, 18 марта 2014 в 15:18
Hey Travis,
Oh I hadn't noticed that method, I'll see if I can work something out with that.
Thanks!
Ответ от Travis Bell
, 21 марта 2014 в 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.