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.
Vil du vurdere eller legge til dette elementet i en liste?
Ikke et medlem?
Svar av jhtd
den 11 Januar 2016 kl. 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'...