Bonjour,
J'utilise la méthode suivante de SOAPI :
overquotaInfo
http://www.ovh.com/soapi/fr/?method=overquotaInfo
domain : du domaine
overquotaInfoStruct[] quota : the quota informations list
capacities : capacities in bytes
order : traffic ordered in bytes
Pour récupérer les valeurs directes comme 'domain' ou 'capacities" ça marche avec le code suivant :
//overquotaInfo
$result = $soap->overquotaInfo($session, "DOMAINE");
echo $result->{'domain'};
echo $result->{'capacities'};
Seulement je voudrais aussi récupérer les valeurs contenues dans le "overquotaInfoStruct[] quota " comme 'month' et 'traffic' mais je n'y arrive pas.
struct overquotaInfoStruct : Un overquota
stringmonth : the month date like YYYY-MM
inttraffic : the traffic in bytes
inthits : the number of hits
Quelle serait la syntaxe à respecter pour y parvenir ?
Merci.