Try 30 days of free premium.

embed=episodes not returning all episodes for a show?

resonanttoe wrote 8 years ago: 1

Hey All,

I'm just getting started with your API and Database (which is amazing btw, the most complete thing I've found so far).

The script I'm writing is designed to get the show's entire listing and rename the files according to some input parameters. Essentially I take the entire JSON Object and search through that as I need to, so having the entire JSON Object populated at the time helps.

I'm doing a direct show search based on a limited input range and returning through a url like

http://api.tvmaze.com/singlesearch/shows?q=WWE%20Nxt&embed=episodes

Which returns as expected, the show info, plus a full listing of all the Episode data to date.

However on some other shows, I'm only getting a truncated version of the episode list that is listed in the front end UI.

http://api.tvmaze.com/singlesearch/shows?q=WWE%20Superstars&embed=episodes

I'm not sure what the expected result is out of the two (hopefully the first). How can I tell the difference going in? or should I be looking up in a different manner.

Cheers


gazza911 wrote 8 years ago: 1

The show returned in the second instance, WWE Superstars, doesn't contain all the episodes.

If you look at the listing on the main site; http://www.tvmaze.com/shows/16770/wwe-superstars/episodes you'll see that not many episodes have actually been added (a total of 7).

P.S This usually occurs when we can only find information for recent episodes

resonanttoe wrote 8 years ago: 1

Oh damn. I didn't see that, Sorry that's a basic and obvious one.

Cheers for the help! :)


gazza911 wrote 8 years ago: 1

No worries. If you have any information about the episodes, then you can add them yourself (Create new button at the bottom of the episodes page)

Try 30 days of free premium.