porot / api-client
Client software for the Porot API.
1.0.5
2014-02-05 15:43 UTC
Requires
- php: >=5.3.3
- guzzle/guzzle: >=3.7.0,<3.9.0
Requires (Dev)
- ext-openssl: *
- doctrine/cache: ~1.0
- monolog/monolog: 1.4.*
- phpunit/phpunit: 3.7.*
- symfony/class-loader: 2.*
- symfony/yaml: 2.*
This package is auto-updated.
Last update: 2024-10-29 03:48:19 UTC
README
Requirements
To use this library you need to have access to the Porot API.
Installation
The Porot API client library is best used with composer.
Add the library to your project's composer.json
{ "require": { "porot/api-client": "~1.0", }, }
Then run php composer.phar install
or php composer.phar update
.
Alternatively, download or clone it from github.
Usage
Career advice API client
$porot = Porot::factory(array('token' => 'YOUR_POROT_API_TOKEN')); $client = $porot->get('career_advice');
See Porot\Api\Resources\career-advice.json for the detail of available methods.
Dependencies
The Porot API Client is based on the Guzzle HTTP Client library.