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 | |
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')
-rw-r--r-- | json/account.rst | 41 | ||||
-rw-r--r-- | json/authentication.rst | 16 | ||||
-rw-r--r-- | json/stations.rst | 19 |
3 files changed, 75 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 + } + } + diff --git a/json/authentication.rst b/json/authentication.rst index a0bf072..0fff225 100644 --- a/json/authentication.rst +++ b/json/authentication.rst @@ -5,6 +5,22 @@ Authentication Authentication is divided into two steps: Partner and user login. +.. _test-checkLicensing: + +Check licensing +--------------- + +:Method: test.checkLicensing + +Check whether Pandora is available in the connecting client’s country, based on +geoip database. This is not strictly required since :ref:`auth-partnerLogin` +enforces this restriction. The request has no parameters. + +.. csv-table:: + :header: Name,Type,Description + + isAllowed,bool, + .. _auth-partnerLogin: Partner login diff --git a/json/stations.rst b/json/stations.rst index ba3b1bd..590eba8 100644 --- a/json/stations.rst +++ b/json/stations.rst @@ -500,6 +500,25 @@ used as musicToken to create a new station with :ref:`station-createStation`. } } +.. _station-getGenreStationsChecksum: + +Checksum +^^^^^^^^ + +:Method: station.getGenreStationsChecksum + +See :ref:`user-getStationListChecksum`. + +.. csv-table:: + :header: Name ,Type ,Description + + includeGenreCategoryAdUrl,bool,(optional) + +.. csv-table:: + :header: Name ,Type ,Description + + checksum,string, + .. _station-transformSharedStation: Transform shared station |