julien-boudry/qobuz-atys

v0.2 2015-09-02 22:14 UTC

This package is auto-updated.

Last update: 2024-09-19 09:54:43 UTC


README

Atys Logo
我们都喜欢他,就像松树一样!

ATYS - Qobuz 库的 PHP 工具

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");