Page 1 of 1

program part number/total

Posted: Tue Nov 11, 2014 12:01 pm
by jagsd
The XML version of data contains the element <part number='5' total='10'/> within the <schedule> element for a program.

I cannot find this information in the JSON data. Maybe I haven't been looking in the right place.

Is it there and, if so, would you tell me where?

Re: program part number/total

Posted: Tue Nov 11, 2014 12:05 pm
by rkulagow
It's not in the data yet, and there's already a ticket for this issue.

https://github.com/SchedulesDirect/JSON ... /issues/37

Re: program part number/total

Posted: Tue Nov 11, 2014 1:55 pm
by jagsd
rkulagow wrote:It's not in the data yet, and there's already a ticket for this issue.

https://github.com/SchedulesDirect/JSON ... /issues/37
Thanks. I looked at the issues on github several days ago but this appeared just 2 days ago and I had not checked there again. Apologies.

Re: program part number/total

Posted: Tue Nov 11, 2014 4:44 pm
by rkulagow
Please see the updated ticket comments.

Re: program part number/total

Posted: Sat Dec 06, 2014 8:26 am
by rkulagow
OK, this feature has been implemented; the JSON data now indicates the part number and total parts.

Re: program part number/total

Posted: Mon Dec 08, 2014 7:45 am
by GameGod
rkulagow wrote:OK, this feature has been implemented; the JSON data now indicates the part number and total parts.
Can I request that the new API documentation indicate these kind of breaking changes from the existing one (20140530) so it makes it easier to port existing applications when it's time?

Thanks.

Re: program part number/total

Posted: Fri Dec 12, 2014 9:31 am
by rkulagow
Yes - 20141201 has already been branched; there are things that were on my 20140530 "TODO" list, either as stubs or actual code that had been written but not yet tested. That's why the partNumber / partTotal was added to 20140530; the code was already there but just hadn't been fully tested.

20140530 is now just in bugfix; 20141201 is where all the new dev things will be happening, and I'll have a "What's changed" as things progress.