Client SDK to access the Deutschland API

Maintainers

Package info

github.com/apioo/deutschland-api-sdk-php

Homepage

pkg:composer/deutschlandapi/sdk

Statistics

Installs: 9

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.6 2025-08-21 19:07 UTC

This package is auto-updated.

Last update: 2026-03-02 18:14:47 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