Try 30 days of free premium.

Episode look up


gazza911 wrote 9 years ago: 1

Right now, we don't store IDs at an episodic level, so it wouldn't be possible.

TheWombatGuru wrote 9 years ago: 1

Then I suggest that episodic IDs be stored, or is this technically impossible?


david wrote 9 years ago: 1

It's unlikely that we'll add this in the near future. Technically it's easy to add support for it, but actually maintaining the data (manually adding and/or verifying up to hundreds of ids per show) would be a huge amount of work.

TheWombatGuru wrote 9 years ago: 1

I can see how that would be a problem yes. The reason I requested it is because I already had a database of 2500 episodes I had watched with corresponding IMDB episode IDs. But since I discovered the TVMaze API, I wanted to use this site so I needed a way to translate those IDs to TVMaze's. I already found a way though.


gazza911 wrote 9 years ago: 1

For anyone else interested in this, I suggest that you use OMDb:

1. Get the contents of http://www.omdbapi.com/?i=tt1480055

2. Extract the seriesID, Season & Episode properties (tt0944947, 1, 1 respectively)

3. Get the contents of http://api.tvmaze.com/lookup/shows?imdb=seriesID (tt0944947)

4. Get the id, then http://api.tvmaze.com/shows/id/episodebynumber?season=Season&number=Episode

This might not be 100% accurate as IMDb's episode numbering might not correspond to ours (i.e 2 part episodes, different episode ordering), hence why they'd have to be verified for each show.


david wrote 9 years ago: 1

Exactly, thanks!

Try 30 days of free premium.