I've noticed that when you click a show that's airing today on the website it actually shows which episode is the one to air today. Is there a way to do that with the API?
Example: http://41.media.tumblr.com/eee6e4a197c62345f57a14fc35045fcd/tumblr_o0mdwgyLDN1rqt3bpo1_1280.png
Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.
Doriți să evaluați sau să adăugați acest articol într-o listă?
Nu sunteți membru?
Răspuns de jhtd
pe data de 11 ianuarie 2016 la ora 11:37 AM
With http://api.themoviedb.org/3/tv/{show_id} you can get the last aired season (which will be the current one). Using that season ID with http://api.themoviedb.org/3/tv/{show_id}/season/{season_id} will give you details of every episode in that season, including air_date.
You can use that date to do all sorts of things. Like not only the 'airing today' thing, but 'next episodes', 'previously'...