Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janssenr/postcodenlapirestclient
A ASP.Net 4.5.1+ class, which offers methods to directly talk with the Postcode.nl API through the REST endpoint offered.
https://github.com/janssenr/postcodenlapirestclient
Last synced: 8 days ago
JSON representation
A ASP.Net 4.5.1+ class, which offers methods to directly talk with the Postcode.nl API through the REST endpoint offered.
- Host: GitHub
- URL: https://github.com/janssenr/postcodenlapirestclient
- Owner: janssenr
- Created: 2015-09-25T08:07:12.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-10-12T13:00:52.000Z (about 1 year ago)
- Last Synced: 2024-08-09T10:15:58.810Z (5 months ago)
- Language: C#
- Homepage:
- Size: 1.78 MB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Postcode.nl API REST Client
A ASP.Net 4.5.1+ class, which offers methods to directly talk with the [Postcode.nl API](https://api.postcode.nl/documentation) through the REST endpoint offered.
You will need to create an account with the [Postcode.nl API](https://api.postcode.nl) service.## License
All source code is licensed under the [GNU Lesser General Public License](http://www.gnu.org/licenses/lgpl.html)
## Installation
The easiest way to get started with Postcode.nl API REST Client is to use the NuGet package
Install-Package PostcodeNlApi
Or download the source from my GitHub page: https://github.com/janssenr/PostcodeNlApiRestClient
## Usage Address API
Include the class in your ASP.Net project, instantiate the ASP.Net class with your authentication details and call the 'LookupAddress' method.
You can handle errors by catching the defined Exception classes.* See our [Address API description](https://services.postcode.nl/adresdata/api) for more information
* See our [Address API method documentation](https://api.postcode.nl/documentation/address-api) for the possible fields```
var api = new PostcodeNlApiRestClient(apiKey: "", apiSecret: "");
var result = api.LookupAddress("2012ES", "30");
```