Try 30 days of free premium.

Easiest way to get current episode

alallier wrote 7 years ago: 1

What is the easiest way to get the current episode of a show. Meaning the last episode that was shown not the next (upcoming episode).


Jan wrote 7 years ago: 1

Have you tried the show status? http://www.tvmaze.com/showstatus

You can also see the previous and next episode on any given show page.

Edit: didn't notice this was in the API forum.

alallier wrote 7 years ago: 1

Jan wrote:
Have you tried the show status? http://www.tvmaze.com/showstatus
You can also see the previous and next episode on any given show page.

I need this for the API. When grabbing the show with http://api.tvmaze.com/shows/1. I have links to the next and previous episode. But I would like to know what episode was the latest one to be shown. I could do some logic on other API calls like 'Show Episode List' http://api.tvmaze.com/shows/1/episodes. I was just wondering if there was a way to do this easily with some API call I'm not aware of.


david wrote 7 years ago: 1

Isn't "previous episode" exactly what you want? It's always the last episode that has aired.

alallier wrote 7 years ago: 1

david wrote:
Isn't "previous episode" exactly what you want? It's always the last episode that has aired.

Duh you're right I feel so dumb, thank you for pointing that out!

Try 30 days of free premium.