PHP code example of swisnl / pdok-geodatastore-api

1. Go to this page and download the library: Download swisnl/pdok-geodatastore-api library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

swisnl / pdok-geodatastore-api example snippets

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