diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2014-07-13 11:33:42 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2014-07-13 11:33:42 +0200 |
commit | ae6c5c697782061aaef6480ff989799fc688821b (patch) | |
tree | 84e3f966d303bce154fa8b24235b57fc203c6330 /json/account.rst | |
parent | 53b98022b7c967c529ac2e9242c94d082a68d720 (diff) | |
download | pandora-apidoc-ae6c5c697782061aaef6480ff989799fc688821b.tar.gz pandora-apidoc-ae6c5c697782061aaef6480ff989799fc688821b.tar.bz2 pandora-apidoc-ae6c5c697782061aaef6480ff989799fc688821b.zip |
A few more methods added
Diffstat (limited to 'json/account.rst')
-rw-r--r-- | json/account.rst | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/json/account.rst b/json/account.rst index ab897a4..bec43e1 100644 --- a/json/account.rst +++ b/json/account.rst @@ -139,7 +139,10 @@ Get subscriber status Returns whether a user is subscribed or if they can subscribe to Pandora One. Can be useful to determine which :ref:`Partner password<partners>` to use. -This method has no request parameters. +.. csv-table:: + :header: Name,Type,Description + + iapVendor,string,(optional) .. csv-table:: :header: Name,Type,Description @@ -157,3 +160,39 @@ This method has no request parameters. } } +.. _user-getUsageInfo: + +Usage info +---------- + +:Method: user.getUsageInfo + +The request has no parameters. + +.. csv-table:: + :header: Name,Type,Description + + accountMonthlyListening,int, + deviceMonthlyListening,int, + monthlyCapHours,int, + monthlyCapWarningPercent,int, + monthlyCapWarningRepeatPercent,int, + isMonthlyPayer,bool, + isCapped,bool, + listeningTimestamp,int, + +.. code:: json + + { + "stat": "ok", + "result": { + "monthlyCapWarningRepeatPercent": 10, + "monthlyCapHours": 320, + "deviceMonthlyListening": 0, + "isMonthlyPayer": false, + "isCapped": false, + "monthlyCapWarningPercent": 85, + "accountMonthlyListening": 0 + } + } + |