/postcodes-go-client

Go library for interacting with the excellent Postcodes.io service

Primary LanguageGoApache License 2.0Apache-2.0

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).