Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markembling/markembling.postcodesio
.NET library for interacting with the excellent Postcodes.io service.
https://github.com/markembling/markembling.postcodesio
api dotnet dotnet-standard library postcodes postcodesio
Last synced: about 2 months ago
JSON representation
.NET library for interacting with the excellent Postcodes.io service.
- Host: GitHub
- URL: https://github.com/markembling/markembling.postcodesio
- Owner: markembling
- License: mit
- Created: 2015-05-30T14:24:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-07-29T14:29:37.000Z (over 2 years ago)
- Last Synced: 2024-10-11T09:55:44.301Z (3 months ago)
- Topics: api, dotnet, dotnet-standard, library, postcodes, postcodesio
- Language: C#
- Homepage:
- Size: 28.8 MB
- Stars: 23
- Watchers: 7
- Forks: 16
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
MarkEmbling.PostcodesIO
=======================.NET library for interacting with the excellent [Postcodes.io][1] 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][2]:
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).
[1]: http://postcodes.io/
[2]: https://www.nuget.org/packages/MarkEmbling.PostcodesIO/