mikeyp / veelo-api-client
Webservice client for Veelo Inc API.
Installs: 2 667
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Requires
This package is auto-updated.
Last update: 2024-12-21 21:31:28 UTC
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