Using governance-sdk with gov.bc.ca

TypeScript integration

Install
npm install governance-sdk
Quick start
import Governance_sdk from 'governance-sdk';

const client = new Governance_sdk({ apiKey: "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
governance-sdk
TypeScript
API
gov.bc.ca
gov.bc.ca:open511
At a glance
Language TypeScript
Endpoints4
Base URLhttp://api.open511.gov.bc.ca