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")
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
govstat
Go
API
gov.bc.ca
gov.bc.ca:news

At a glance

Language Go
Endpoints27
Base URLhttps://news.api.gov.bc.ca