question about schedule - different hours on different days?

or_dvir wrote 7 years ago: 1

to be clear, im NOT talking about the "schedule" endpoint, but rather about the schedule object in "show" endpoint. e.g. http://api.tvmaze.com/shows/812

in the example above (and every other show ive seen so far) the schedule object has a parameter for "time" and an array of the days of the week the show is airing.

but what happens if a show is aired on different times on different days? for example, on sundays it airs at 15:00, but on tuesdays at 17:00.

i have not seen this in any specific show, but i just thought that theoretically this could happen and was wondering what would the schedule object look like in that case

thanks


david wrote 7 years ago: 1

In that case the show's default airtime will/should be empty.

or_dvir wrote 7 years ago: 1

david wrote:
In that case the show's default airtime will/should be empty.

by "shows default airtime" you mean the "time" field i mentioned above?


gazza911 wrote 7 years ago: 1

or_dvir wrote:
by "shows default airtime" you mean the "time" field i mentioned above?

Yes, the time property wouldn't be specified for the show itself as currently it can only hold one value.

It would have to be entered on each episode.

Try 30 days of free premium.