fastwebmedia / hive-api
A wrapper around Hive API.
Installs: 503
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 5
Forks: 1
pkg:composer/fastwebmedia/hive-api
Requires
- php: >=5.4.0
- guzzlehttp/guzzle: 5.3.*
- illuminate/support: 5.*
Requires (Dev)
- phpunit/phpunit: 4.*
README
Install
composer require fastwebmedia/hive
You then need to add the service provider
'FWM\Hive\HiveServiceProvider'
Finally publised the config
php artisan vendor:publish
Usage
You should first update the config file with the URL and the access token so you can make request via the Hive API.
$client = new FWM\Hive\Client();
return $client->api('user')->getUser('hello@fastweb.media');
Documentation
Coming soon - for now look in the Code and User API classes to view the available methods.