how can i get a shows main information with embedded episodes which INCLUDES specials?
this doesnt work:
http://api.tvmaze.com/shows/1?embed[]=episodes&embed[]=specials
how can i get a shows main information with embedded episodes which INCLUDES specials?
this doesnt work:
http://api.tvmaze.com/shows/1?embed[]=episodes&embed[]=specials
Not currently possible.
will it be possible in the future?
Not in the near future; definitely not before doing https://www.tvmaze.com/threads/1888/better-handling-of-specials.
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
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
it's already working.
See http://api.tvmaze.com/shows/251/episodes?specials=1 , it contain special and insignificant
@Cecile wrote:
it's already working.See http://api.tvmaze.com/shows/251/episodes?specials=1 , it contain special and insignificant
That does not include any of the show data though so it isn't working - it is only returning episode information?
This URL http://api.tvmaze.com/shows/1?embed=episodes has Show ___and____ Episode information (but not specials).
I am looking for URL that has Show data and Episode data including specials.
Thanks
Cecile's response misinterepeted your requirements.
That isn't something that's possible to do.
oh, yes, sorry. I must have read your post too quickly
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
@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.
@david wrote:
Beta: http://api.tvmaze.com/shows/251?embed=episodeswithspecials
Do not know how I missed this but thanks.
The blog item just posted with all the recent changes made be check if this had been looked at.
Fantastic!