All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- New method
Art4\Wegliphant\Client::getChargeByTbnr()
to get one charge by tbnr. - The supported weg.li-API spec as Swagger 2.0 json format was added.
- The endpoints for listing charges and districs and getting a district by ZIP were changed to reflect the latest API changes.
- New method
Art4\Wegliphant\Client::authenticate()
to set your API key for authorized API requests. - New method
Art4\Wegliphant\Client::listOwnNotices()
to list all notices for the authorized user. - New method
Art4\Wegliphant\Client::getNoticeByToken()
to get one notice for the authorized user. - New class
Art4\Wegliphant\Exception\UnexpectedResponseException
that will be thrown if an error happens while processing the response.
Art4\Wegliphant\Client
now throwsArt4\Wegliphant\Exception\UnexpectedResponseException
if an error happens while processing responses.
- New method
Art4\Wegliphant\Client::getDistrictByZip()
to get one district by ZIP. - New method
Art4\Wegliphant\Client::listCharges()
to list all charges. - Support for PHP 8.1 and PHP 8.2.
- New class
Art4\Wegliphant\Client
to make API requests. - New method
Art4\Wegliphant\Client::listDistricts()
to list all districts. - Unit tests with PHPUnit.
- composer.json for installation support via composer.
- Docker support for local dev environment.