jongotlin / bjorn-lunden
0.2.0
2025-12-10 11:09 UTC
Requires
- php: ^7.2 || ^8.0
- guzzlehttp/guzzle: ^7.0
Requires (Dev)
- phpunit/phpunit: ^8.0
README
BjornLunden
API wrapper for Björn Lundén
Install with composer
composer require jongotlin/bjorn-lunden
Example
$bjornLunden = new \JGI\BjornLunden\BjornLunden(new \GuzzleHttp\Client(['http_errors' => false])); $credentials = new \JGI\BjornLunden\Credentials($userKey, $clientId, $clientSecret); $token = $bjornLunden->tokens($credentials)->create(); $credentials->setToken($token->getAccessToken()); $users = $bjornLunden->users($credentials)->all(); var_dump($users);