previousdeveloper / postcodes-go-client

Go library for interacting with the excellent Postcodes.io service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

postcodes-go-client

Go Report Card Build

Go library for interacting with the excellent Postcodes.io service.

Usage

config := postcode.DefaultConfig()
postCodeClient := postcode.NewPostCode(config)
a := postCodeClient.BulkLookupPostcode(&model.BulkPostCodeRequest{Postcodes: []string{"OX49 5NU"}})
fmt.Println(a.Result[0].Result)

Installation

go get github.com/previousdeveloper/postcodes-go-client

Contributions

Feel free to make contributions via a pull request. Please keep the tests current (and add, if necessary).

About

Go library for interacting with the excellent Postcodes.io service

License:Apache License 2.0


Languages

Language:Go 100.0%