Using medkit with gov.bc.ca

Python integration

Install
pip install medkit
Quick start
import medkit

# Use an OAuth2 access token
client = medkit.Client(access_token="YOUR_ACCESS_TOKEN")
Get a list of tags
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://catalogue.data.gov.bc.ca/api/3/action/tag_list
Get the site status
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://catalogue.data.gov.bc.ca/api/3/action/status_show
Get a list of all packages (datasets)
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://catalogue.data.gov.bc.ca/api/3/action/package_list
SDK on GitHub 📄 API Docs
SDK
medkit
Python
API
gov.bc.ca
gov.bc.ca:bcdc
At a glance
Language Python
Endpoints22
Base URLhttps://catalogue.data.gov.bc.ca/api/3