1<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 75<h1><a href="androidpublisher_v3.html">Google Play Android Developer API</a> . <a href="androidpublisher_v3.reviews.html">reviews</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#close">close()</a></code></p> 79<p class="firstline">Close httplib2 connections.</p> 80<p class="toc_element"> 81 <code><a href="#get">get(packageName, reviewId, translationLanguage=None, x__xgafv=None)</a></code></p> 82<p class="firstline">Gets a single review.</p> 83<p class="toc_element"> 84 <code><a href="#list">list(packageName, maxResults=None, startIndex=None, token=None, translationLanguage=None, x__xgafv=None)</a></code></p> 85<p class="firstline">Lists all reviews.</p> 86<p class="toc_element"> 87 <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> 89<h3>Method Details</h3> 90<div class="method"> 91 <code class="details" id="close">close()</code> 92 <pre>Close httplib2 connections.</pre> 93</div> 94 95<div class="method"> 96 <code class="details" id="get">get(packageName, reviewId, translationLanguage=None, x__xgafv=None)</code> 97 <pre>Gets a single review. 98 99Args: 100 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 107 108Returns: 109 An object of the form: 110 111 { # An Android app review. 112 "authorName": "A String", # The name of the user who wrote the review. 113 "comments": [ # A repeated field containing comments for the review. 114 { # An entry of conversation between user and developer. 115 "developerComment": { # Developer entry from conversation between user and developer. # A comment from a developer. 116 "lastModified": { # 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 "nanos": 42, # Non-negative fractions of a second at nanosecond resolution. Must be from 0 to 999,999,999 inclusive. 118 "seconds": "A String", # Represents seconds of UTC time since Unix epoch. 119 }, 120 "text": "A String", # The content of the comment, i.e. reply body. 121 }, 122 "userComment": { # User entry from conversation between user and developer. # A comment from a user. 123 "androidOsVersion": 42, # Integer Android SDK version of the user's device at the time the review was written, e.g. 23 is Marshmallow. May be absent. 124 "appVersionCode": 42, # Integer version code of the app as installed at the time the review was written. May be absent. 125 "appVersionName": "A String", # String version name of the app as installed at the time the review was written. May be absent. 126 "device": "A String", # Codename for the reviewer's device, e.g. klte, flounder. May be absent. 127 "deviceMetadata": { # Characteristics of the user's device. # Information about the characteristics of the user's device. 128 "cpuMake": "A String", # Device CPU make, e.g. "Qualcomm" 129 "cpuModel": "A String", # Device CPU model, e.g. "MSM8974" 130 "deviceClass": "A String", # Device class (e.g. tablet) 131 "glEsVersion": 42, # OpenGL version 132 "manufacturer": "A String", # Device manufacturer (e.g. Motorola) 133 "nativePlatform": "A String", # Comma separated list of native platforms (e.g. "arm", "arm7") 134 "productName": "A String", # Device model name (e.g. Droid) 135 "ramMb": 42, # Device RAM in Megabytes, e.g. "2048" 136 "screenDensityDpi": 42, # Screen density in DPI 137 "screenHeightPx": 42, # Screen height in pixels 138 "screenWidthPx": 42, # Screen width in pixels 139 }, 140 "lastModified": { # 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 "nanos": 42, # Non-negative fractions of a second at nanosecond resolution. Must be from 0 to 999,999,999 inclusive. 142 "seconds": "A String", # Represents seconds of UTC time since Unix epoch. 143 }, 144 "originalText": "A String", # Untranslated text of the review, where the review was translated. If the review was not translated this is left blank. 145 "reviewerLanguage": "A String", # 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 "starRating": 42, # The star rating associated with the review, from 1 to 5. 147 "text": "A String", # 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 "thumbsDownCount": 42, # Number of users who have given this review a thumbs down. 149 "thumbsUpCount": 42, # Number of users who have given this review a thumbs up. 150 }, 151 }, 152 ], 153 "reviewId": "A String", # Unique identifier for this review. 154}</pre> 155</div> 156 157<div class="method"> 158 <code class="details" id="list">list(packageName, maxResults=None, startIndex=None, token=None, translationLanguage=None, x__xgafv=None)</code> 159 <pre>Lists all reviews. 160 161Args: 162 packageName: string, Package name of the app. (required) 163 maxResults: integer, How many results the list operation should return. 164 startIndex: integer, The index of the first element to return. 165 token: string, Pagination token. If empty, list starts at the first review. 166 translationLanguage: string, Language localization code. 167 x__xgafv: string, V1 error format. 168 Allowed values 169 1 - v1 error format 170 2 - v2 error format 171 172Returns: 173 An object of the form: 174 175 { # Response listing reviews. 176 "pageInfo": { # Information about the current page. List operations that supports paging return only one "page" of results. This protocol buffer message describes the page that has been returned. # Information about the current page. 177 "resultPerPage": 42, # Maximum number of results returned in one page. ! The number of results included in the API response. 178 "startIndex": 42, # Index of the first result returned in the current page. 179 "totalResults": 42, # Total number of results available on the backend ! The total number of results in the result set. 180 }, 181 "reviews": [ # List of reviews. 182 { # An Android app review. 183 "authorName": "A String", # The name of the user who wrote the review. 184 "comments": [ # A repeated field containing comments for the review. 185 { # An entry of conversation between user and developer. 186 "developerComment": { # Developer entry from conversation between user and developer. # A comment from a developer. 187 "lastModified": { # 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 "nanos": 42, # Non-negative fractions of a second at nanosecond resolution. Must be from 0 to 999,999,999 inclusive. 189 "seconds": "A String", # Represents seconds of UTC time since Unix epoch. 190 }, 191 "text": "A String", # The content of the comment, i.e. reply body. 192 }, 193 "userComment": { # User entry from conversation between user and developer. # A comment from a user. 194 "androidOsVersion": 42, # Integer Android SDK version of the user's device at the time the review was written, e.g. 23 is Marshmallow. May be absent. 195 "appVersionCode": 42, # Integer version code of the app as installed at the time the review was written. May be absent. 196 "appVersionName": "A String", # String version name of the app as installed at the time the review was written. May be absent. 197 "device": "A String", # Codename for the reviewer's device, e.g. klte, flounder. May be absent. 198 "deviceMetadata": { # Characteristics of the user's device. # Information about the characteristics of the user's device. 199 "cpuMake": "A String", # Device CPU make, e.g. "Qualcomm" 200 "cpuModel": "A String", # Device CPU model, e.g. "MSM8974" 201 "deviceClass": "A String", # Device class (e.g. tablet) 202 "glEsVersion": 42, # OpenGL version 203 "manufacturer": "A String", # Device manufacturer (e.g. Motorola) 204 "nativePlatform": "A String", # Comma separated list of native platforms (e.g. "arm", "arm7") 205 "productName": "A String", # Device model name (e.g. Droid) 206 "ramMb": 42, # Device RAM in Megabytes, e.g. "2048" 207 "screenDensityDpi": 42, # Screen density in DPI 208 "screenHeightPx": 42, # Screen height in pixels 209 "screenWidthPx": 42, # Screen width in pixels 210 }, 211 "lastModified": { # 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 "nanos": 42, # Non-negative fractions of a second at nanosecond resolution. Must be from 0 to 999,999,999 inclusive. 213 "seconds": "A String", # Represents seconds of UTC time since Unix epoch. 214 }, 215 "originalText": "A String", # Untranslated text of the review, where the review was translated. If the review was not translated this is left blank. 216 "reviewerLanguage": "A String", # 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 "starRating": 42, # The star rating associated with the review, from 1 to 5. 218 "text": "A String", # 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 "thumbsDownCount": 42, # Number of users who have given this review a thumbs down. 220 "thumbsUpCount": 42, # Number of users who have given this review a thumbs up. 221 }, 222 }, 223 ], 224 "reviewId": "A String", # Unique identifier for this review. 225 }, 226 ], 227 "tokenPagination": { # Pagination information returned by a List operation when token pagination is enabled. List operations that supports paging return only one "page" 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 "nextPageToken": "A String", # Tokens to pass to the standard list field 'page_token'. Whenever available, tokens are preferred over manipulating start_index. 229 "previousPageToken": "A String", 230 }, 231}</pre> 232</div> 233 234<div class="method"> 235 <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. 237 238Args: 239 packageName: string, Package name of the app. (required) 240 reviewId: string, Unique identifier for a review. (required) 241 body: object, The request body. 242 The object takes the form of: 243 244{ # Request to reply to review or update existing reply. 245 "replyText": "A String", # The text to set as the reply. Replies of more than approximately 350 characters will be rejected. HTML tags will be stripped. 246} 247 248 x__xgafv: string, V1 error format. 249 Allowed values 250 1 - v1 error format 251 2 - v2 error format 252 253Returns: 254 An object of the form: 255 256 { # Response on status of replying to a review. 257 "result": { # The result of replying/updating a reply to review. # The result of replying/updating a reply to review. 258 "lastEdited": { # 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 "nanos": 42, # Non-negative fractions of a second at nanosecond resolution. Must be from 0 to 999,999,999 inclusive. 260 "seconds": "A String", # Represents seconds of UTC time since Unix epoch. 261 }, 262 "replyText": "A String", # The reply text that was applied. 263 }, 264}</pre> 265</div> 266 267</body></html>