jongotlin / bjorn-lunden
Installs: 7 473
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Type:package
pkg:composer/jongotlin/bjorn-lunden
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);