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
Non riesci a trovare un film o una serie Tv? Accedi per crearlo.
Vuoi valutare o aggiungere quest'elemento a una lista?
Non sei un membro?
Risposta da jhtd
il 11 gennaio, 2016 alle 11:37AM
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'...