https://github.com/jongotlin/bjornlunden
API wrapper for Björn Lundén
https://github.com/jongotlin/bjornlunden
Last synced: 3 months ago
JSON representation
API wrapper for Björn Lundén
- Host: GitHub
- URL: https://github.com/jongotlin/bjornlunden
- Owner: jongotlin
- Created: 2020-09-01T07:51:10.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-05-02T14:56:24.000Z (about 2 years ago)
- Last Synced: 2025-03-18T22:42:01.758Z (4 months ago)
- Language: PHP
- Size: 112 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.org/jongotlin/BjornLunden)
# BjornLunden
API wrapper for Björn Lundén## Install with composer
`composer require jongotlin/bjorn-lunden`## Example
```php
$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);
```