Postcode.nl API REST Client
A ASP.Net 4.5.1+ class, which offers methods to directly talk with the Postcode.nl API through the REST endpoint offered. You will need to create an account with the Postcode.nl API service.
All source code is licensed under the GNU Lesser General Public License
The easiest way to get started with Postcode.nl API REST Client is to use the NuGet package
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 for more information
- See our Address API method documentation for the possible fields
var api = new PostcodeNlApiRestClient(apiKey: "<your key>", apiSecret: "<your secret>"); var result = api.LookupAddress("2012ES", "30");