jongotlin/bjorn-lunden

Installs: 6 204

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 1

Open Issues: 0

Type:package

0.1.5 2022-05-11 05:21 UTC

This package is auto-updated.

Last update: 2024-12-01 00:14:37 UTC


README

Build Status

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);