Client SDK to access the Deutschland API

v0.1.4 2024-09-07 20:58 UTC

This package is auto-updated.

Last update: 2024-10-07 21:36:33 UTC


README

This SDK helps to access the DeutschlandAPI

Usage

The following example shows how you initialize the client:

<?php

require __DIR__ . '/vendor/autoload.php';

$client = \DeutschlandAPI\SDK\Client::buildAnonymous();

$collection = $client->state()->getAll();
foreach ($collection->getEntries() as $city) {
    echo $city->getName() . "\n";
}

More information about the complete API at: https://app.typehub.cloud/d/deutschland-api/sdk