stephanecoinon / idrive
Client for iDrive API
dev-master
2017-08-15 21:48 UTC
Requires
- php: 7.*
- ext-simplexml: *
- guzzlehttp/guzzle: ^6.3
- league/container: ^2.4
- nesbot/carbon: ^1.22
Requires (Dev)
- mockery/mockery: ^0.9.9
- phpunit/phpunit: ^6.3
- vlucas/phpdotenv: ^2.4
This package is auto-updated.
Last update: 2024-11-11 15:11:31 UTC
README
This PHP package is a client for iDrive (cloud backup) API.
Requirements
- PHP 7
- SimpleXML (ext-simplexml should be installed by default)
Installation
composer require stephanecoinon/idrive:dev-master@dev
Usage
<?php use StephaneCoinon\IDrive\IDrive; require 'vendor/autoload.php'; $iDrive = IDrive::connect('uid', 'password'); // Get an array of devices backed up by iDrive $devices = $iDrive->getDevices(); // Get an array of events in a given month $events = $iDrive->getEvents($year = 2017, $month = 8);
License
This package is open-sourced software licensed under the MIT license.