summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--json/account.rst41
-rw-r--r--json/authentication.rst16
-rw-r--r--json/stations.rst19
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