mikeyp/veelo-api-client
Composer 安装命令:
composer require mikeyp/veelo-api-client
包简介
Webservice client for Veelo Inc API.
README 文档
README
This is a PHP library for accessing the Veelo API.
Install
Add this requirement to your composer.json file:
"require": {
"mikeyp/veelo-api-client": "@stable"
}
Usage
Example:
use \VeeloApi\VeeloApiClient; // Initialize the client. $client = VeeloApiClient::create(); // Get an authorization token. $response = $client->generateToken('user@example.com', 'password'); echo $response['token']; // Initialize the client with a token. $client = VeeloApiClient::create(['token' => $token]); // List admin groups. $response = $client->listAdminGroups(); // List circles in an admin group. $response = $client->listCircles($admingroup_id); // Upload a file. $response = $client->uploadFile($admingroup_id, fopen('path/to/file.pdf', 'r'));
To do
- Finish operations for Users and Admingroups
- Tests
统计信息
- 总下载量: 2.67k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2017-03-30