A client for the PDOK Geodatastore API.
A simple Object Oriented wrapper for PDOK Geodatastore API, written in PHP7. Uses PDOK Geodatastore API v1.
PDOK Geodatastore and its API have been taken out of service as of January 2019, therefore this package no longer works!
- Follows PSR-4 conventions and coding standard: autoload friendly
- Light and fast thanks to lazy loading of API classes
- PHP >= 7.0
- Guzzle library,
- (optional) PHPUnit to run tests.
$ composer require swisnl/pdok-geodatastore-api php-http/guzzle6-adapter
php-http/guzzle6-adapter? We are decoupled from any HTTP messaging client with help by HTTPlug.
$client = new \Swis\PdokGeodatastoreApi\Client(); $client->authenticate('username', 'password'); $datasets = $client->datasets()->all();
$client object, you can access all features.
Please see CHANGELOG for more information on what has changed recently.
$ composer test
If you discover any security related issues, please email firstname.lastname@example.org instead of using the issue tracker.
Heavily inspired by PHP GitHub API.
The MIT License (MIT). Please see License File for more information.
SWIS is a web agency from Leiden, the Netherlands. We love working with open source software.