Try 30 days of free premium.

/shows?page=X doesn't have all shows?

ShakilChoudhury wrote 4 years ago: 1

I'm currently hitting http://api.tvmaze.com/shows?page=X for as many pages as possible from 0 until failure. This returns 44,240 TV shows with the highest ID of 46200. However there are TV shows in the api with higher IDs, the highest being 46210. So that is at least 10 shows that the /shows?page=X endpoint is missing. 

Also, for newly added TV shows, am I right in assuming that hitting the /updates/shows is the best endpoint to hit, to find newly added IDs?

tnt wrote 4 years ago: 1

ShakilChoudhury wrote:
I'm currently hitting http://api.tvmaze.com/shows?page=X for as many pages as possible from 0 until failure. This returns 44,240 TV shows with the highest ID of 42600. However there are TV shows in the api with higher IDs, the highest being 46210. So that is at least 10 shows that the /shows?page=X endpoint is missing. 

When show is deleted its ID is not reused. So nothing is missing, some IDs just belonged to shows which were deleted.


gazza911 wrote 4 years ago: 1

In addition to what tnt has said, please note as specified on the API page:

"As opposed to the other endpoints, results from the show index are cached for up to 24 hours."

If it's still not listing the shows after 46200 later on / tomorrow, then we can check it.

Try 30 days of free premium.