Try 30 days of free premium.

Show info starting year - ending year in API


david wrote 8 years ago: 1

Moved to the API forums.

Wouldn't mind adding this, will keep it in mind.

Pete77 wrote 2 years ago: 1

Anything new on this? I just noticed the same. The end year is shown on series detail page, but it's not available in the api.


gazza911 wrote 2 years ago: 2

@Pete77 wrote:
Anything new on this? I just noticed the same. The end year is shown on series detail page, but it's not available in the api.

I would suggest using the embeds to do something like this:

https://api.tvmaze.com/shows/1?embed=previousepisode

If the status is 'Ended' then the previous (last) episode is the end of the show.
You'd just need to parse airdate or airstamp to extract the year.

(Obviously, like the website, this is only valid if the last episode of a show has actually been added to TVmaze)


david wrote 2 years ago: 1

I've added the "ended" property. :)

Try 30 days of free premium.