Try 30 days of free premium.

embedding episodes AND specials


david wrote 5 years ago: 1

Not currently possible.

or_dvir wrote 5 years ago: 1

will it be possible in the future?

tvm52237 wrote 3 years ago: 2

Wanted to see if it is was possible to access the API for show information with embedded episodes but with specials included and noticed this thread where it states it was not currently possible.

As the better handling of specials has now gone live is this something that could now be possible?

Thanks

tvm52237 wrote 3 years ago: 1

I really want to try to keep the number of API calls down to the minimum is there any news on if/when embedding episodes including all specials with shows could be possible?  

This works but specials are not included: http://api.tvmaze.com/shows/1?embed=episodes
This doesn't work: http://api.tvmaze.com/shows/1?embed=episodes&specials=1
Possible suggestion: http://api.tvmaze.com/shows/1?embed=episodeswithallspecials 

Doing a forum search it is mentioned quite a few times over the years?

Thanks


gazza911 wrote 3 years ago: 1

Cecile's response misinterepeted your requirements.

That isn't something that's possible to do.

Cecile wrote 3 years ago: 1

oh, yes, sorry. I must have read your post too quickly

Smith00101010 wrote 3 years ago: 1

Thanks for implementing this.

If the way of doing it is not yet set in stone, might I suggest to do it with "?embed=episodes&specials=1" instead?

I see 3 minor advantages for this approach:

1. It is closer to the "shows/251/episodes" endpoint

2. Clients do not have to implement another subobject (embedding) that is another list of episode objects which doesn't have any new fields

3. Somthing useless like this: http://api.tvmaze.com/shows/251?embed[]=episodeswithspecials&embed[]=episodes is not possible


david wrote 3 years ago: 1

@Smith00101010 wrote:
Thanks for implementing this.

If the way of doing it is not yet set in stone, might I suggest to do it with "?embed=episodes&specials=1" instead?

Thanks for giving feedback, and your arguments are decent! However no, I can't do that, it has to be a single embed parameter or I'd have to refactor a huge (mostly caching related) part of the code just for that.

Try 30 days of free premium.