Using go-data-gov-gr-sdk with gov.bc.ca

Go integration

Install
go get github.com/ppapapetrou76/go-data-gov-gr-sdk
Quick start
import "go-data-gov-gr-sdk"

// Initialize client
client := go-data-gov-gr-sdk.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
go-data-gov-gr-sdk
Go
API
gov.bc.ca
gov.bc.ca:news
At a glance
Language Go
Endpoints27
Base URLhttps://news.api.gov.bc.ca