https://github.com/SchedulesDirect/JSON-Service/issues/3
Is it possible to have the headend id included in lineups instead of just the name and location and then having to decode the id from the filename?
Ideally, the all the data is in the JSON and the zip and files are just a generic way transferring the JSON so each request doesn't have it's own special code. I would like to simply loop through the files in the zip and convert the JSON in each file to an object without having to parse data from the file's name.
I guess this means the "get schedules", instead of returning just an array of program data:
[ { program1 }, {program2}, ...]
would return:
{"station":"xxxxx", "programs":[ { program1 }, {program2}, ...]}
Does that make sense?
The same idea should apply programs as well. Not sure there are others.
Thanks,
Clint