jongotlin/bjorn-lunden

0.1.5 2022-05-11 05:21 UTC

This package is auto-updated.

Last update: 2024-08-31 00:27:39 UTC


README

Build Status

BjornLunden

Björn Lundén 的 API 包装器

使用 composer 安装

composer require jongotlin/bjorn-lunden

示例

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