Refonte Domo91.py, mot de passe bcrypt

This commit is contained in:
2025-08-19 22:15:38 +02:00
parent 0f607cbf17
commit 8605965f11
7 changed files with 393 additions and 135 deletions

32
scripts/envoi_sms.php Normal file
View File

@@ -0,0 +1,32 @@
<?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);
}
?>