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" });
Returns the top level content for the home page
curl \
  https://news.api.gov.bc.ca/api/Home
Get all Tags
curl \
  https://news.api.gov.bc.ca/api/Tags
Get the posts associated with the keys in the list passed in.
curl \
  https://news.api.gov.bc.ca/api/Posts
SDK on GitHub 📄 API Docs
SDK
governance-sdk
TypeScript
API
gov.bc.ca
gov.bc.ca:news
At a glance
Language TypeScript
Endpoints27
Base URLhttps://news.api.gov.bc.ca