Modif Tracker

This commit is contained in:
2025-08-31 18:26:48 +02:00
parent 783fa3d97b
commit b5a692d2bd
4 changed files with 107 additions and 160 deletions

View File

@@ -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);
}
?>