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")
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
govstat
Go
API
gov.bc.ca
gov.bc.ca:gwells
At a glance
Language Go
Endpoints24
Base URLhttps://apps.nrs.gov.bc.ca/gwells/api/v1