julien-boudry / qobuz-atys
This package is auto-updated.
Last update: 2024-11-19 10:09:43 UTC
README
ATYS - PHP tools for Qobuz library
use AtysQobuz\Atys ; Atys::$AppID = '100000000'; // Optional Atys::setAPPSecret('XXX'); // If you have one. Atys::$CacheDirectory = '/home/julien/QobuzCache'; // Active cache functionality Atys::setCacheLength(7200); // Two Hours var_dump(Atys::request('album/get', ['album_id' => '3760156050089'])); // Album representation is under AtysQobuz\Entity\Album Class. Other method can return a PHP array translation from Json. Atys::$Login = "myLogin"; Atys::setPasswordMD5(hash('md5','yourPassword')); Atys::request("purchase/getUserPurchases");