markembling / MarkEmbling.PostcodesIO

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:C# 88.9%Language:Boo 11.0%Language:Batchfile 0.1%