deutschlandapi / sdk
Client SDK to access the Deutschland API
Fund package maintenance!
chriskapp
Patreon
www.paypal.me/fusioapi
Requires
- sdkgen/client: ^1.0
Requires (Dev)
- vimeo/psalm: ^5.0
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