Skip to content

Instantly share code, notes, and snippets.

@marcbowes
Created April 13, 2015 15:43
Show Gist options
  • Save marcbowes/bc11137d42f80e211be4 to your computer and use it in GitHub Desktop.
Save marcbowes/bc11137d42f80e211be4 to your computer and use it in GitHub Desktop.
> curl "http://whereismypower.co.za/api/get_status"
{"active_stage":2,"active_stage_name":"Stage 2","timestamp":"2015-04-13T15:40:03.873Z"}%
> curl "http://whereismypower.co.za/api/get_schedule?area=5&date=2014-04-13&stage=2"
{"outages":["02:00 - 04:30","18:00 - 20:30"],"area_id":5,"stage":2,"date":"2014-04-13","day_of_month":13}%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment