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")
Geocode an address
curl \
  -H "apikey: $API_KEY" \
  https://geocoder.api.gov.bc.ca/addresses.{outputFormat}
Find sites near to a geographic point
curl \
  -H "apikey: $API_KEY" \
  https://geocoder.api.gov.bc.ca/sites/near.{outputFormat}
Find sites in a geographic area
curl \
  -H "apikey: $API_KEY" \
  https://geocoder.api.gov.bc.ca/sites/within.{outputFormat}
SDK on GitHub 📄 API Docs
SDK
medkit
Python
API
gov.bc.ca
gov.bc.ca:geocoder
At a glance
Language Python
Endpoints16
Base URLhttps://geocoder.api.gov.bc.ca