From ae6c5c697782061aaef6480ff989799fc688821b Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 13 Jul 2014 11:33:42 +0200 Subject: A few more methods added --- json/account.rst | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) (limited to 'json/account.rst') 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` 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 + } + } + -- cgit v1.2.3