blob: aad9fe909dcafb8fd2c22e761be5ca8b7de352ec [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">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -080084 <code><a href="#list">list(packageName, maxResults=None, startIndex=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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800112 &quot;authorName&quot;: &quot;A String&quot;, # The name of the user who wrote the review.
113 &quot;comments&quot;: [ # A repeated field containing comments for the review.
114 { # 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.
116 &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.
118 &quot;seconds&quot;: &quot;A String&quot;, # Represents seconds of UTC time since Unix epoch.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800119 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800120 &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 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800122 &quot;userComment&quot;: { # User entry from conversation between user and developer. # A comment from a user.
123 &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.
124 &quot;appVersionCode&quot;: 42, # Integer version code of the app as installed at the time the review was written. 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;device&quot;: &quot;A String&quot;, # Codename for the reviewer&#x27;s device, e.g. klte, flounder. May be absent.
127 &quot;deviceMetadata&quot;: { # Characteristics of the user&#x27;s device. # Information about the characteristics of the user&#x27;s device.
128 &quot;cpuMake&quot;: &quot;A String&quot;, # Device CPU make, e.g. &quot;Qualcomm&quot;
129 &quot;cpuModel&quot;: &quot;A String&quot;, # Device CPU model, e.g. &quot;MSM8974&quot;
130 &quot;deviceClass&quot;: &quot;A String&quot;, # Device class (e.g. tablet)
131 &quot;glEsVersion&quot;: 42, # OpenGL version
132 &quot;manufacturer&quot;: &quot;A String&quot;, # Device manufacturer (e.g. Motorola)
133 &quot;nativePlatform&quot;: &quot;A String&quot;, # Comma separated list of native platforms (e.g. &quot;arm&quot;, &quot;arm7&quot;)
134 &quot;productName&quot;: &quot;A String&quot;, # Device model name (e.g. Droid)
135 &quot;ramMb&quot;: 42, # Device RAM in Megabytes, e.g. &quot;2048&quot;
136 &quot;screenDensityDpi&quot;: 42, # Screen density in DPI
137 &quot;screenHeightPx&quot;: 42, # Screen height in pixels
138 &quot;screenWidthPx&quot;: 42, # Screen width in pixels
139 },
140 &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.
141 &quot;nanos&quot;: 42, # Non-negative fractions of a second at nanosecond resolution. Must be from 0 to 999,999,999 inclusive.
142 &quot;seconds&quot;: &quot;A String&quot;, # Represents seconds of UTC time since Unix epoch.
143 },
144 &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.
145 &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.
146 &quot;starRating&quot;: 42, # The star rating associated with the review, from 1 to 5.
147 &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.
148 &quot;thumbsDownCount&quot;: 42, # Number of users who have given this review a thumbs down.
149 &quot;thumbsUpCount&quot;: 42, # Number of users who have given this review a thumbs up.
150 },
151 },
152 ],
153 &quot;reviewId&quot;: &quot;A String&quot;, # Unique identifier for this review.
154}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700155</div>
156
157<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800158 <code class="details" id="list">list(packageName, maxResults=None, startIndex=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)
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800163 maxResults: integer, How many results the list operation should return.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800164 startIndex: integer, The index of the first element to return.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800165 token: string, Pagination token. If empty, list starts at the first review.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800166 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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800176 &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.
177 &quot;resultPerPage&quot;: 42, # Maximum number of results returned in one page. ! The number of results included in the API response.
178 &quot;startIndex&quot;: 42, # Index of the first result returned in the current page.
179 &quot;totalResults&quot;: 42, # Total number of results available on the backend ! The total number of results in the result set.
180 },
181 &quot;reviews&quot;: [ # List of reviews.
182 { # An Android app review.
183 &quot;authorName&quot;: &quot;A String&quot;, # The name of the user who wrote the review.
184 &quot;comments&quot;: [ # A repeated field containing comments for the review.
185 { # An entry of conversation between user and developer.
186 &quot;developerComment&quot;: { # Developer entry from conversation between user and developer. # A comment from a developer.
187 &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.
188 &quot;nanos&quot;: 42, # Non-negative fractions of a second at nanosecond resolution. Must be from 0 to 999,999,999 inclusive.
189 &quot;seconds&quot;: &quot;A String&quot;, # Represents seconds of UTC time since Unix epoch.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800190 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800191 &quot;text&quot;: &quot;A String&quot;, # The content of the comment, i.e. reply body.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800192 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800193 &quot;userComment&quot;: { # User entry from conversation between user and developer. # A comment from a user.
194 &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.
195 &quot;appVersionCode&quot;: 42, # Integer version code of the app as installed at the time the review was written. May be absent.
196 &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.
197 &quot;device&quot;: &quot;A String&quot;, # Codename for the reviewer&#x27;s device, e.g. klte, flounder. May be absent.
198 &quot;deviceMetadata&quot;: { # Characteristics of the user&#x27;s device. # Information about the characteristics of the user&#x27;s device.
199 &quot;cpuMake&quot;: &quot;A String&quot;, # Device CPU make, e.g. &quot;Qualcomm&quot;
200 &quot;cpuModel&quot;: &quot;A String&quot;, # Device CPU model, e.g. &quot;MSM8974&quot;
201 &quot;deviceClass&quot;: &quot;A String&quot;, # Device class (e.g. tablet)
202 &quot;glEsVersion&quot;: 42, # OpenGL version
203 &quot;manufacturer&quot;: &quot;A String&quot;, # Device manufacturer (e.g. Motorola)
204 &quot;nativePlatform&quot;: &quot;A String&quot;, # Comma separated list of native platforms (e.g. &quot;arm&quot;, &quot;arm7&quot;)
205 &quot;productName&quot;: &quot;A String&quot;, # Device model name (e.g. Droid)
206 &quot;ramMb&quot;: 42, # Device RAM in Megabytes, e.g. &quot;2048&quot;
207 &quot;screenDensityDpi&quot;: 42, # Screen density in DPI
208 &quot;screenHeightPx&quot;: 42, # Screen height in pixels
209 &quot;screenWidthPx&quot;: 42, # Screen width in pixels
210 },
211 &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.
212 &quot;nanos&quot;: 42, # Non-negative fractions of a second at nanosecond resolution. Must be from 0 to 999,999,999 inclusive.
213 &quot;seconds&quot;: &quot;A String&quot;, # Represents seconds of UTC time since Unix epoch.
214 },
215 &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.
216 &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.
217 &quot;starRating&quot;: 42, # The star rating associated with the review, from 1 to 5.
218 &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.
219 &quot;thumbsDownCount&quot;: 42, # Number of users who have given this review a thumbs down.
220 &quot;thumbsUpCount&quot;: 42, # Number of users who have given this review a thumbs up.
221 },
222 },
223 ],
224 &quot;reviewId&quot;: &quot;A String&quot;, # Unique identifier for this review.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800225 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800226 ],
227 &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.
228 &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.
229 &quot;previousPageToken&quot;: &quot;A String&quot;,
230 },
231}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700232</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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800245 &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.
246}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700247
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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800257 &quot;result&quot;: { # The result of replying/updating a reply to review. # The result of replying/updating a reply to review.
258 &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.
260 &quot;seconds&quot;: &quot;A String&quot;, # Represents seconds of UTC time since Unix epoch.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700261 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800262 &quot;replyText&quot;: &quot;A String&quot;, # The reply text that was applied.
263 },
264}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700265</div>
266
267</body></html>