Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

A client for the PDOK Geodatastore API.

License

Notifications You must be signed in to change notification settings

swisnl/pdok-geodatastore-api

Repository files navigation

PDOK Geodatastore API

PHP from Packagist Latest Version on Packagist Software License Run Status Coverage Badge Total Downloads Made by SWIS

A simple Object Oriented wrapper for PDOK Geodatastore API, written in PHP7. Uses PDOK Geodatastore API v1.

⚠️ Out of service ⚠️

PDOK Geodatastore and its API have been taken out of service as of January 2019, therefore this package no longer works!

Features

  • Follows PSR-4 conventions and coding standard: autoload friendly
  • Light and fast thanks to lazy loading of API classes

Requirements

  • PHP >= 7.0
  • Guzzle library,
  • (optional) PHPUnit to run tests.

Install

Via Composer

$ composer require swisnl/pdok-geodatastore-api php-http/guzzle6-adapter

Why php-http/guzzle6-adapter? We are decoupled from any HTTP messaging client with help by HTTPlug.

Usage

$client = new \Swis\PdokGeodatastoreApi\Client();
$client->authenticate('username', 'password');
$datasets = $client->datasets()->all();

From $client object, you can access all features.

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email security@swis.nl instead of using the issue tracker.

Credits

Heavily inspired by PHP GitHub API.

License

The MIT License (MIT). Please see License File for more information.

SWIS

SWIS is a web agency from Leiden, the Netherlands. We love working with open source software.