2017 © Pedro Peláez
 

library geodata-postal-api

Geodata postal API to find Dutch addresses

image

eddypouw/geodata-postal-api

Geodata postal API to find Dutch addresses

  • Monday, May 8, 2017
  • by eddypouw
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Geodata postal API

PHP client to find Dutch addresses based on postal code and house number., (*1)

This library is based on the open geodata from https://nationaalgeoregister.nl., (*2)

Build Status, (*3)

Usage

Install the latest version via composer:, (*4)

php composer.phar require eddypouw/geodata-postal-api

Example:, (*5)

<?php
require_once('vendor/autoload.php');

$client      = new \GuzzleHttp\Client(['base_uri' => 'https://geodata.nationaalgeoregister.nl/geocoder/Geocoder']);
$geodata_api = new \Eddypouw\GeodataPostalApi\GeodataAddressRepository($client);

$response = $geodata_api->findByPostal('1509AW', 7);

print $response->getStreet() . ' ' . $response->getHouseNumber() . "\n";
print $response->getPostalCode() . ' ' . $response->getMunicipality() . "\n";

Requirements

PHP 7.0.x or above., (*6)

License

This library is licensed under the MIT License - see the LICENSE file for details., (*7)

The Versions

08/05 2017

dev-master

9999999-dev

Geodata postal API to find Dutch addresses

  Sources   Download

MIT

The Requires

 

The Development Requires

by Eddy Pouw

08/05 2017

1.0.2

1.0.2.0

Geodata postal API to find Dutch addresses

  Sources   Download

MIT

The Requires

 

The Development Requires

by Eddy Pouw

08/05 2017

1.0.1

1.0.1.0

Geodata postal API to find Dutch addresses

  Sources   Download

MIT

The Requires

 

The Development Requires

by Eddy Pouw

08/05 2017

1.0.0

1.0.0.0

Geodata postal API to find Dutch addresses

  Sources   Download

MIT

The Requires

 

The Development Requires

by Eddy Pouw