Modif Tracker
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Lists and displays the details for each SMS account
|
||||
*
|
||||
* Go to https://eu.api.ovh.com/createToken/index.cgi?GET=/sms/&GET=/sms/*/jobs&POST=/sms/*/jobs
|
||||
* to generate the API access keys for:
|
||||
*
|
||||
* GET /sms
|
||||
* GET /sms/*/jobs
|
||||
* POST /sms/*/jobs
|
||||
*/
|
||||
|
||||
require __DIR__ . '/vendor/autoload.php';
|
||||
use \Ovh\Api;
|
||||
|
||||
$endpoint = 'ovh-eu';
|
||||
$applicationKey = "f725d07b2f98a195";
|
||||
$applicationSecret = "5ca392a0a728e2395edd426bb1e11ad6";
|
||||
$consumer_key = "305f2e8611e58b83930de84ee65c99f9";
|
||||
|
||||
$conn = new Api( $applicationKey,
|
||||
$applicationSecret,
|
||||
$endpoint,
|
||||
$consumer_key);
|
||||
|
||||
$smsServices = $conn->get('/sms/');
|
||||
foreach ($smsServices as $smsService) {
|
||||
|
||||
print_r($smsService);
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user