.NET library for interacting with the excellent Postcodes.io service.
C# Boo Batchfile
Switch branches/tags
Nothing to show
Clone or download
markembling Update nuget
This mess needs to be sorted out when I have some time.
Latest commit d5814a4 May 18, 2018
Permalink
Failed to load latest commit information.
.nuget
MarkEmbling.PostcodesIO.Tests
MarkEmbling.PostcodesIO
build
packages
tools/phantom
.gitattributes
.gitignore
LICENSE
MarkEmbling.PostcodesIO.sln
MarkEmbling.PostcodesIO.sln.DotSettings
README.md
build.cmd

README.md

MarkEmbling.PostcodesIO

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

Usage

var client = new PostcodesIOClient();
var result = client.Lookup("GU1 1AA");
// result contains properties such as Latitude, Longitude, Region, County and so on...

Check out the integration tests (MarkEmbling.PostcodesIO.Tests) for further examples.


This library is still a work-in-progress. More examples and documentation will come soon, along with the missing API methods.

In the meantime, the package is available on NuGet:

PM> Install-Package MarkEmbling.PostcodesIO

Be aware: the API may fluctuate until it hits v1.0. But I think it's already going down the right path, so we're probably fine for the most part. But as always, use at your own risk.

Contributions

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