webmechanicx/streak
Composer 安装命令:
composer require webmechanicx/streak
包简介
Streak PHP SDK
README 文档
README
Streak
You can sign up for a Streak account at https://streak.com
Requirements
PHP 5.3.3 and later.
Composer
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');
Manual Installation
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');
Dependencies
The bindings require the following extension in order to work properly:
Getting Started
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) );
More Examples
you can download Examples available with this package and getting started.
Documentation
Please see docs for up-to-date documentation.
This Streak Client Supports both endpoints are v1 and v2
统计信息
- 总下载量: 16.66k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 24
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-12-24