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
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by jhtd
on January 11, 2016 at 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'...