Using aws-sdk-gov2-blog with gov.bc.ca

Go integration

Install

go get github.com/robertojrojas/aws-sdk-gov2-blog

Quick start

import "aws-sdk-gov2-blog"

// Initialize client
client := aws-sdk-gov2-blog.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
aws-sdk-gov2-blog
Go
API
gov.bc.ca
gov.bc.ca:open511

At a glance

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