You can sign up for a Streak account at https://streak.com
PHP 5.3.3 and later.
You can install the bindings via Composer. Run the following command:
composer require webmechanicx/streak
To use the bindings, use Composer's autoload:
require_once('vendor/autoload.php');
If you do not wish to use Composer, you can download the latest release. Then, to use the bindings, include the init.php
file.
require_once('/path/to/streak/init.php');
The bindings require the following extension in order to work properly:
Simple usage looks like:
\Streak\Streak::setApiKey('<-- Your Streak API Key -->');
$pipeline = new \Streak\StreakPipeline;
$params = array(
'name' => 'Foo',
'description' => 'Bar'
);
$data = $pipeline->createPipeline($params);
print_r( json_decode($data) );
you can download Examples available with this package and getting started.
Please see docs for up-to-date documentation.