how can I get the next episode date?

  • Question
  • Updated 3 years ago
  • Answered
I would like to be able to get the air date of the next episode for a given tv show. Is this possible?
Photo of ExvitE

Exvit

  • 1 Post
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of ltfearme

ltfearme

  • 403 Posts
  • 99 Reply Likes
This is not explicitly giving to you in the API, but you can work it out using some simple date math on the http://trakt.tv/api-docs/show-season method.

Check for the first 'first_aired' that is greater than or equal to today, you can also check if its watched so you can check the next episode to watch as well using this method.