fastwebmedia / hive-api
A wrapper around Hive API.
4.0.1
2015-10-08 08:50 UTC
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.