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" });
serves general configuration
curl \
  -H "JWT: $API_KEY" \
  https://apps.nrs.gov.bc.ca/gwells/api/v1/config
returns a list of wells
curl \
  -H "JWT: $API_KEY" \
  https://apps.nrs.gov.bc.ca/gwells/api/v1/wells/
serves keycloak config
curl \
  -H "JWT: $API_KEY" \
  https://apps.nrs.gov.bc.ca/gwells/api/v1/keycloak
SDK on GitHub 📄 API Docs
SDK
governance-sdk
TypeScript
API
gov.bc.ca
gov.bc.ca:gwells
At a glance
Language TypeScript
Endpoints24
Base URLhttps://apps.nrs.gov.bc.ca/gwells/api/v1