blob: 7fd91dc813f3879b72bcf7ba5a642791703ecad2 [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
Bu Sun Kimd059ad82020-07-22 17:02:09 -070075<h1><a href="androidpublisher_v3.html">Google Play Android Developer API</a> . <a href="androidpublisher_v3.reviews.html">reviews</a></h1>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070076<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070081 <code><a href="#get">get(packageName, reviewId, translationLanguage=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Gets a single review.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070083<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070084 <code><a href="#list">list(packageName, startIndex=None, maxResults=None, token=None, translationLanguage=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -070085<p class="firstline">Lists all reviews.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070086<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070087 <code><a href="#reply">reply(packageName, reviewId, body=None, x__xgafv=None)</a></code></p>
88<p class="firstline">Replies to a single review, or updates an existing reply.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070089<h3>Method Details</h3>
90<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070091 <code class="details" id="close">close()</code>
92 <pre>Close httplib2 connections.</pre>
93</div>
94
95<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070096 <code class="details" id="get">get(packageName, reviewId, translationLanguage=None, x__xgafv=None)</code>
97 <pre>Gets a single review.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070098
99Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700100 packageName: string, Package name of the app. (required)
101 reviewId: string, Unique identifier for a review. (required)
102 translationLanguage: string, Language localization code.
103 x__xgafv: string, V1 error format.
104 Allowed values
105 1 - v1 error format
106 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700107
108Returns:
109 An object of the form:
110
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700111 { # An Android app review.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700112 &quot;authorName&quot;: &quot;A String&quot;, # The name of the user who wrote the review.
Bu Sun Kim65020912020-05-20 12:08:20 -0700113 &quot;comments&quot;: [ # A repeated field containing comments for the review.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700114 { # An entry of conversation between user and developer.
115 &quot;developerComment&quot;: { # Developer entry from conversation between user and developer. # A comment from a developer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700116 &quot;lastModified&quot;: { # A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970. # The last time at which this comment was updated.
117 &quot;nanos&quot;: 42, # Non-negative fractions of a second at nanosecond resolution. Must be from 0 to 999,999,999 inclusive.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700118 &quot;seconds&quot;: &quot;A String&quot;, # Represents seconds of UTC time since Unix epoch.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700119 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700120 &quot;text&quot;: &quot;A String&quot;, # The content of the comment, i.e. reply body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700121 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700122 &quot;userComment&quot;: { # User entry from conversation between user and developer. # A comment from a user.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700123 &quot;thumbsUpCount&quot;: 42, # Number of users who have given this review a thumbs up.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700124 &quot;androidOsVersion&quot;: 42, # Integer Android SDK version of the user&#x27;s device at the time the review was written, e.g. 23 is Marshmallow. May be absent.
125 &quot;appVersionName&quot;: &quot;A String&quot;, # String version name of the app as installed at the time the review was written. May be absent.
126 &quot;thumbsDownCount&quot;: 42, # Number of users who have given this review a thumbs down.
127 &quot;appVersionCode&quot;: 42, # Integer version code of the app as installed at the time the review was written. May be absent.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700128 &quot;device&quot;: &quot;A String&quot;, # Codename for the reviewer&#x27;s device, e.g. klte, flounder. May be absent.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700129 &quot;starRating&quot;: 42, # The star rating associated with the review, from 1 to 5.
130 &quot;lastModified&quot;: { # A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970. # The last time at which this comment was updated.
131 &quot;nanos&quot;: 42, # Non-negative fractions of a second at nanosecond resolution. Must be from 0 to 999,999,999 inclusive.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700132 &quot;seconds&quot;: &quot;A String&quot;, # Represents seconds of UTC time since Unix epoch.
133 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700134 &quot;text&quot;: &quot;A String&quot;, # The content of the comment, i.e. review body. In some cases users have been able to write a review with separate title and body; in those cases the title and body are concatenated and separated by a tab character.
135 &quot;deviceMetadata&quot;: { # Characteristics of the user&#x27;s device. # Information about the characteristics of the user&#x27;s device.
136 &quot;cpuModel&quot;: &quot;A String&quot;, # Device CPU model, e.g. &quot;MSM8974&quot;
137 &quot;screenHeightPx&quot;: 42, # Screen height in pixels
138 &quot;manufacturer&quot;: &quot;A String&quot;, # Device manufacturer (e.g. Motorola)
139 &quot;glEsVersion&quot;: 42, # OpenGL version
140 &quot;nativePlatform&quot;: &quot;A String&quot;, # Comma separated list of native platforms (e.g. &quot;arm&quot;, &quot;arm7&quot;)
141 &quot;cpuMake&quot;: &quot;A String&quot;, # Device CPU make, e.g. &quot;Qualcomm&quot;
142 &quot;screenWidthPx&quot;: 42, # Screen width in pixels
143 &quot;screenDensityDpi&quot;: 42, # Screen density in DPI
144 &quot;productName&quot;: &quot;A String&quot;, # Device model name (e.g. Droid)
145 &quot;deviceClass&quot;: &quot;A String&quot;, # Device class (e.g. tablet)
146 &quot;ramMb&quot;: 42, # Device RAM in Megabytes, e.g. &quot;2048&quot;
147 },
148 &quot;originalText&quot;: &quot;A String&quot;, # Untranslated text of the review, where the review was translated. If the review was not translated this is left blank.
149 &quot;reviewerLanguage&quot;: &quot;A String&quot;, # Language code for the reviewer. This is taken from the device settings so is not guaranteed to match the language the review is written in. May be absent.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700150 },
151 },
152 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700153 &quot;reviewId&quot;: &quot;A String&quot;, # Unique identifier for this review.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700154 }</pre>
155</div>
156
157<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700158 <code class="details" id="list">list(packageName, startIndex=None, maxResults=None, token=None, translationLanguage=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700159 <pre>Lists all reviews.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700160
161Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700162 packageName: string, Package name of the app. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700163 startIndex: integer, The index of the first element to return.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700164 maxResults: integer, How many results the list operation should return.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700165 token: string, Pagination token. If empty, list starts at the first review.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700166 translationLanguage: string, Language localization code.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700167 x__xgafv: string, V1 error format.
168 Allowed values
169 1 - v1 error format
170 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700171
172Returns:
173 An object of the form:
174
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700175 { # Response listing reviews.
176 &quot;reviews&quot;: [ # List of reviews.
177 { # An Android app review.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700178 &quot;authorName&quot;: &quot;A String&quot;, # The name of the user who wrote the review.
Bu Sun Kim65020912020-05-20 12:08:20 -0700179 &quot;comments&quot;: [ # A repeated field containing comments for the review.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700180 { # An entry of conversation between user and developer.
181 &quot;developerComment&quot;: { # Developer entry from conversation between user and developer. # A comment from a developer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700182 &quot;lastModified&quot;: { # A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970. # The last time at which this comment was updated.
183 &quot;nanos&quot;: 42, # Non-negative fractions of a second at nanosecond resolution. Must be from 0 to 999,999,999 inclusive.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700184 &quot;seconds&quot;: &quot;A String&quot;, # Represents seconds of UTC time since Unix epoch.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700185 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700186 &quot;text&quot;: &quot;A String&quot;, # The content of the comment, i.e. reply body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700187 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700188 &quot;userComment&quot;: { # User entry from conversation between user and developer. # A comment from a user.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700189 &quot;thumbsUpCount&quot;: 42, # Number of users who have given this review a thumbs up.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700190 &quot;androidOsVersion&quot;: 42, # Integer Android SDK version of the user&#x27;s device at the time the review was written, e.g. 23 is Marshmallow. May be absent.
191 &quot;appVersionName&quot;: &quot;A String&quot;, # String version name of the app as installed at the time the review was written. May be absent.
192 &quot;thumbsDownCount&quot;: 42, # Number of users who have given this review a thumbs down.
193 &quot;appVersionCode&quot;: 42, # Integer version code of the app as installed at the time the review was written. May be absent.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700194 &quot;device&quot;: &quot;A String&quot;, # Codename for the reviewer&#x27;s device, e.g. klte, flounder. May be absent.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700195 &quot;starRating&quot;: 42, # The star rating associated with the review, from 1 to 5.
196 &quot;lastModified&quot;: { # A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970. # The last time at which this comment was updated.
197 &quot;nanos&quot;: 42, # Non-negative fractions of a second at nanosecond resolution. Must be from 0 to 999,999,999 inclusive.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700198 &quot;seconds&quot;: &quot;A String&quot;, # Represents seconds of UTC time since Unix epoch.
199 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700200 &quot;text&quot;: &quot;A String&quot;, # The content of the comment, i.e. review body. In some cases users have been able to write a review with separate title and body; in those cases the title and body are concatenated and separated by a tab character.
201 &quot;deviceMetadata&quot;: { # Characteristics of the user&#x27;s device. # Information about the characteristics of the user&#x27;s device.
202 &quot;cpuModel&quot;: &quot;A String&quot;, # Device CPU model, e.g. &quot;MSM8974&quot;
203 &quot;screenHeightPx&quot;: 42, # Screen height in pixels
204 &quot;manufacturer&quot;: &quot;A String&quot;, # Device manufacturer (e.g. Motorola)
205 &quot;glEsVersion&quot;: 42, # OpenGL version
206 &quot;nativePlatform&quot;: &quot;A String&quot;, # Comma separated list of native platforms (e.g. &quot;arm&quot;, &quot;arm7&quot;)
207 &quot;cpuMake&quot;: &quot;A String&quot;, # Device CPU make, e.g. &quot;Qualcomm&quot;
208 &quot;screenWidthPx&quot;: 42, # Screen width in pixels
209 &quot;screenDensityDpi&quot;: 42, # Screen density in DPI
210 &quot;productName&quot;: &quot;A String&quot;, # Device model name (e.g. Droid)
211 &quot;deviceClass&quot;: &quot;A String&quot;, # Device class (e.g. tablet)
212 &quot;ramMb&quot;: 42, # Device RAM in Megabytes, e.g. &quot;2048&quot;
213 },
214 &quot;originalText&quot;: &quot;A String&quot;, # Untranslated text of the review, where the review was translated. If the review was not translated this is left blank.
215 &quot;reviewerLanguage&quot;: &quot;A String&quot;, # Language code for the reviewer. This is taken from the device settings so is not guaranteed to match the language the review is written in. May be absent.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700216 },
217 },
218 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700219 &quot;reviewId&quot;: &quot;A String&quot;, # Unique identifier for this review.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700220 },
221 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700222 &quot;tokenPagination&quot;: { # Pagination information returned by a List operation when token pagination is enabled. List operations that supports paging return only one &quot;page&quot; of results. This protocol buffer message describes the page that has been returned. When using token pagination, clients should use the next/previous token to get another page of the result. The presence or absence of next/previous token indicates whether a next/previous page is available and provides a mean of accessing this page. ListRequest.page_token should be set to either next_page_token or previous_page_token to access another page. # Pagination token, to handle a number of products that is over one page.
223 &quot;nextPageToken&quot;: &quot;A String&quot;, # Tokens to pass to the standard list field &#x27;page_token&#x27;. Whenever available, tokens are preferred over manipulating start_index.
Bu Sun Kim65020912020-05-20 12:08:20 -0700224 &quot;previousPageToken&quot;: &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700225 },
226 &quot;pageInfo&quot;: { # Information about the current page. List operations that supports paging return only one &quot;page&quot; of results. This protocol buffer message describes the page that has been returned. # Information about the current page.
227 &quot;totalResults&quot;: 42, # Total number of results available on the backend ! The total number of results in the result set.
228 &quot;startIndex&quot;: 42, # Index of the first result returned in the current page.
229 &quot;resultPerPage&quot;: 42, # Maximum number of results returned in one page. ! The number of results included in the API response.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700230 },
231 }</pre>
232</div>
233
234<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700235 <code class="details" id="reply">reply(packageName, reviewId, body=None, x__xgafv=None)</code>
236 <pre>Replies to a single review, or updates an existing reply.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700237
238Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700239 packageName: string, Package name of the app. (required)
240 reviewId: string, Unique identifier for a review. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700241 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700242 The object takes the form of:
243
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700244{ # Request to reply to review or update existing reply.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700245 &quot;replyText&quot;: &quot;A String&quot;, # The text to set as the reply. Replies of more than approximately 350 characters will be rejected. HTML tags will be stripped.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700246 }
247
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700248 x__xgafv: string, V1 error format.
249 Allowed values
250 1 - v1 error format
251 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700252
253Returns:
254 An object of the form:
255
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700256 { # Response on status of replying to a review.
257 &quot;result&quot;: { # The result of replying/updating a reply to review. # The result of replying/updating a reply to review.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700258 &quot;lastEdited&quot;: { # A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970. # The time at which the reply took effect.
259 &quot;nanos&quot;: 42, # Non-negative fractions of a second at nanosecond resolution. Must be from 0 to 999,999,999 inclusive.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700260 &quot;seconds&quot;: &quot;A String&quot;, # Represents seconds of UTC time since Unix epoch.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700261 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700262 &quot;replyText&quot;: &quot;A String&quot;, # The reply text that was applied.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700263 },
264 }</pre>
265</div>
266
267</body></html>