jongotlin / bjorn-lunden
Installs: 6 225
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 1
Open Issues: 0
Type:package
Requires
- php: ^7.2
- guzzlehttp/guzzle: ~6.0
Requires (Dev)
- php-http/guzzle6-adapter: ^1.0
- 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);