A symfony2 bundle API client for restful calls to TakeOffset Carbon Offset API.
##Installation
Install it with Composer
- composer.json
{
require: {
"benmort/takeoffset-api-bundle": "dev-master",
}
}
Then, you can install the new dependencies by running Composer's update
command from the directory where your composer.json
file is located:
$ php composer.phar update
To register the bundles with your kernel inside the AppKernel::registerBundles():
- app.kernal
<?php
$bundles = array(
new TakeOffset\ApiBundle\TakeoffetApiBundle(),
);
- app/config/config.yml
takeoffset_api:
key: XXXXXXXXXXXXXXX
- Log management
- Tests
Owned and operated by TakeOffset Pty. Ltd. Corporation