The schedules can be retrieved in JSON format (f-36-pgm-tasks.json, f-36-magazine.json, etc.), but the current release version id (e.g. "36") needs to be known in advance because it is part of the URL. For automation purposes, I would like to be able to retrieve the current release version in JSON format from a static URL. For example, I would would like to be able to do something like the following from a script.
#!/usr/bin/perl use JSON::API; $schedules = JSON::API->new('https://fedorapeople.org/groups/schedule'); $cr = $schedules->get('/current-release.json'); $v = $cr->{'VERSION_ID'}; $data = $schedules->get("/f-$v/f-$v-magazine.json"); print $data->{...}, "\n"; ...
Closed via #44
Metadata Update from @bcotton: - Issue status updated to: Closed (was: Open)