Using govstat with gov.bc.ca

Go integration

Install

go get github.com/blockpane/govstat

Quick start

import "govstat"

// Initialize client
client := govstat.NewClient("YOUR_API_KEY")
Lists the geographical areas (e.g. districts) that can be used to filter events.
curl \
  http://api.open511.gov.bc.ca/areas
Lists road events
curl \
  http://api.open511.gov.bc.ca/events
Lists the jurisdictions publishing data through this Open511 API implementation
curl \
  http://api.open511.gov.bc.ca/jurisdiction
SDK on GitHub 📄 API Docs
SDK
govstat
Go
API
gov.bc.ca
gov.bc.ca:open511

At a glance

Language Go
Endpoints4
Base URLhttp://api.open511.gov.bc.ca