Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 799 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 799 Bytes

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