Using tflint-plugin-sdk with tfl.gov.uk

Go integration

Install
go get github.com/terraform-linters/tflint-plugin-sdk
Quick start
import "tflint-plugin-sdk"

// Initialize client
client := tflint-plugin-sdk.NewClient("YOUR_API_KEY")
Gets all roads managed by TfL
curl \
  # append ?app_key=$API_KEY to the URL \
  https://api.digital.tfl.gov.uk/Road
Gets the places that lie within a geographic region. The geographic region of…
curl \
  # append ?app_key=$API_KEY to the URL \
  https://api.digital.tfl.gov.uk/Place
Search the site for occurrences of the query string. The maximum number of re…
curl \
  # append ?app_key=$API_KEY to the URL \
  https://api.digital.tfl.gov.uk/Search
SDK on GitHub 📄 API Docs
SDK
tflint-plugin-sdk
Go
API
tfl.gov.uk
tfl.gov.uk
At a glance
Language Go
Endpoints84
Base URLhttps://api.digital.tfl.gov.uk