Using medkit with gov.bc.ca

Python integration

Install

pip install medkit

Quick start

import medkit

# Set your API key
client = medkit.Client(api_key="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
medkit
Python
API
gov.bc.ca
gov.bc.ca:gwells

At a glance

Language Python
Endpoints24
Base URLhttps://apps.nrs.gov.bc.ca/gwells/api/v1