PHP code example of ideative / api-infomaniak-php-client
1. Go to this page and download the library: Download ideative/api-infomaniak-php-client library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ideative / api-infomaniak-php-client example snippets
nfomaniak\Api;
$token = '123456789';
$client = new Api(['token' => $token]);
// Ping example
$result = $client->PingGet();
print_r($result);
// List mailbox example
$result = $client->MailGetMailbox(
array(
'id' => 123456789,
'with' => '*'
)
);
print_r($result);
composer