Do we have any api that gives us all the episodes of any provided season for any show?
As far as I know, no, you'd have to download all of them and only serve that season's episodes
Indeed, it's not currently possible. But if there's a lot of demand, I would be open to adding a "season/:id/episodes" endpoint.
david wrote:
Indeed, it's not currently possible. But if there's a lot of demand, I would be open to adding a "season/:id/episodes" endpoint.
@david If you do, I'd also suggest making the episode parameter in http://api.tvmaze.com/shows/1/episodebynumber?season=1&number=1 optional (I.e Return all in the 3rd season of a show)
gazza911 wrote:
@david If you do, I'd also suggest making the episode parameter in http://api.tvmaze.com/shows/1/episodebynumber?season=1&number=1 optional (I.e Return all in the 3rd season of a show)
No, that would change the return type of the endpoint: an array of episodes instead of a single episode.
david wrote:
No, that would change the return type of the endpoint: an array of episodes instead of a single episode.
Fair enough.
Either way, I think the original idea of the season/:id/episodes is good.
david wrote:
Indeed, it's not currently possible. But if there's a lot of demand, I would be open to adding a "season/:id/episodes" endpoint.
I think it would be really helpful if you do.
I absolutely concur, a season-specific episode list would be much appreciated. It's just great for hierarchical traversal of a show. And I also believe season/:id/episodes makes the most sense. Thanks in advance!
This is now done. http://www.tvmaze.com/threads/4/api-changelog?page=2#32122
Awesome, thanks david!