Try 30 days of free premium.

How can i fetch the data of show status 'in development' in 'anime' genre?

Ashukr5876 wrote 4 months ago: 1

hi, 

i am building a count down website of anime genre only. i want to show the data of show status 'in development' .how can i do that?


gazza911 wrote 4 months ago: 1

It isn't possible to filter by in development / anime as it would mean that the cache would grow exponentially and maintaining performance would be hard.

You have a few options:

a) Get all shows, then get all episodes

1. https://api.tvmaze.com/shows?page=1 (incrementing page number until 404)

2. Store the last show ID

3. Filter by anime genre and In Development status

3. Call the nextepisode link to get the episode information

4. When you want to refresh it, repeat process starting at the last page you were last on

5. If there is no first episode, use https://api.tvmaze.com/shows/1/episodebynumber?season=1&number=1 at a later time

b) Get daily schedules

1. https://api.tvmaze.com/schedule?country=JP&date=2024-01-01

2. Filter by anime and season/episode number

3. Repeat for every day (e.g. 30 days in advance) that you want to check

c) Get the full schedule

1. https://api.tvmaze.com/schedule/full

2. Filter by anime and season/episode number

(I don't really recommend this though as it's a lot of data)

Try 30 days of free premium.