lbarulski/rapidu-sdk

Unofficial rapidu.net SDK

dev-master 2014-09-10 18:50 UTC

This package is auto-updated.

Last update: 2024-10-29 04:03:57 UTC


README

Unofficial rapidu.net SDK

Composer installation

"lbarulski/rapidu-sdk": "dev-master"

Example

Get Account Details

$rapidu = new LB\Rapidu\RapiduClient('LOGIN', 'PASSWORD');

$accountDetails = $rapidu->getAccountDetails();

Get File Details

$rapidu = new LB\Rapidu\RapiduClient('LOGIN', 'PASSWORD');

$fileDetails = $rapidu->getFileDetails('FILE_ID');

Get File Download

$rapidu = new LB\Rapidu\RapiduClient('LOGIN', 'PASSWORD');

$fileDownload = $rapidu->getFileDownload('FILE_ID');

File Upload

$rapidu = new LB\Rapidu\RapiduClient('LOGIN', 'PASSWORD');

$uploadServer = $rapidu->getUploadServer();

$url = $rapidu->upload($uploadServer, '/path/to/file');