blob: afa21eb012c0c174c52e02fb19f65d63a5ac926c [file] [log] [blame]
John Asmuth614db982014-04-24 15:46:26 -04001<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="games_v1.html">Google Play Game Services</a> . <a href="games_v1.applications.html">applications</a></h1>
John Asmuth614db982014-04-24 15:46:26 -040076<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">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -080081 <code><a href="#get">get(applicationId, platformType=None, language=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070082<p class="firstline">Retrieves the metadata of the application with the given ID. If the requested application is not available for the specified `platformType`, the returned response will not include any instance data.</p>
John Asmuth614db982014-04-24 15:46:26 -040083<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070084 <code><a href="#played">played(x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070085<p class="firstline">Indicate that the currently authenticated user is playing your application.</p>
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -080086<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070087 <code><a href="#verify">verify(applicationId, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070088<p class="firstline">Verifies the auth token provided with this request is for the application with the specified ID, and returns the ID of the player it was granted for.</p>
John Asmuth614db982014-04-24 15:46:26 -040089<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">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -080096 <code class="details" id="get">get(applicationId, platformType=None, language=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070097 <pre>Retrieves the metadata of the application with the given ID. If the requested application is not available for the specified `platformType`, the returned response will not include any instance data.
John Asmuth614db982014-04-24 15:46:26 -040098
99Args:
Craig Citroe633be12015-03-02 13:40:36 -0800100 applicationId: string, The application ID from the Google Play developer console. (required)
John Asmuth614db982014-04-24 15:46:26 -0400101 platformType: string, Restrict application details returned to the specific platform.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700102 Allowed values
103 PLATFORM_TYPE_UNSPECIFIED - Default value, don&#x27;t use.
104 ANDROID - Retrieve applications that can be played on Android.
105 IOS - Retrieve applications that can be played on iOS.
106 WEB_APP - Retrieve applications that can be played on desktop web.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800107 language: string, The preferred language to use for strings returned by this method.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700108 x__xgafv: string, V1 error format.
John Asmuth614db982014-04-24 15:46:26 -0400109 Allowed values
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700110 1 - v1 error format
111 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400112
113Returns:
114 An object of the form:
115
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700116 { # The Application resource.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800117 &quot;name&quot;: &quot;A String&quot;, # The name of the application.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700118 &quot;id&quot;: &quot;A String&quot;, # The ID of the application.
119 &quot;lastUpdatedTimestamp&quot;: &quot;A String&quot;, # The last updated timestamp of the application.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800120 &quot;enabledFeatures&quot;: [ # A list of features that have been enabled for the application.
121 &quot;A String&quot;,
122 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800123 &quot;kind&quot;: &quot;A String&quot;, # Uniquely identifies the type of this resource. Value is always the fixed string `games#application`.
124 &quot;achievement_count&quot;: 42, # The number of achievements visible to the currently authenticated player.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700125 &quot;instances&quot;: [ # The instances of the application.
126 { # The Instance resource.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700127 &quot;acquisitionUri&quot;: &quot;A String&quot;, # URI which shows where a user can acquire this instance.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800128 &quot;turnBasedPlay&quot;: True or False, # Flag to show if this game instance supports turn based play.
129 &quot;iosInstance&quot;: { # The iOS details resource. # Platform dependent details for iOS.
130 &quot;preferredForIpad&quot;: True or False, # Indicates that this instance is the default for new installations on iPad devices.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800131 &quot;bundleIdentifier&quot;: &quot;A String&quot;, # Bundle identifier.
132 &quot;kind&quot;: &quot;A String&quot;, # Uniquely identifies the type of this resource. Value is always the fixed string `games#instanceIosDetails`.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800133 &quot;preferredForIphone&quot;: True or False, # Indicates that this instance is the default for new installations on iPhone devices.
134 &quot;supportIphone&quot;: True or False, # Flag to indicate if this instance supports iPhone.
135 &quot;supportIpad&quot;: True or False, # Flag to indicate if this instance supports iPad.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800136 &quot;itunesAppId&quot;: &quot;A String&quot;, # iTunes App ID.
137 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800138 &quot;kind&quot;: &quot;A String&quot;, # Uniquely identifies the type of this resource. Value is always the fixed string `games#instance`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700139 &quot;webInstance&quot;: { # The Web details resource. # Platform dependent details for Web.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700140 &quot;kind&quot;: &quot;A String&quot;, # Uniquely identifies the type of this resource. Value is always the fixed string `games#instanceWebDetails`.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800141 &quot;preferred&quot;: True or False, # Indicates that this instance is the default for new installations.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700142 &quot;launchUrl&quot;: &quot;A String&quot;, # Launch URL for the game.
143 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700144 &quot;name&quot;: &quot;A String&quot;, # Localized display name.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800145 &quot;realtimePlay&quot;: True or False, # Flag to show if this game instance supports realtime play.
146 &quot;androidInstance&quot;: { # The Android instance details resource. # Platform dependent details for Android.
147 &quot;packageName&quot;: &quot;A String&quot;, # Android package name which maps to Google Play URL.
148 &quot;preferred&quot;: True or False, # Indicates that this instance is the default for new installations.
149 &quot;enablePiracyCheck&quot;: True or False, # Flag indicating whether the anti-piracy check is enabled.
150 &quot;kind&quot;: &quot;A String&quot;, # Uniquely identifies the type of this resource. Value is always the fixed string `games#instanceAndroidDetails`.
151 },
152 &quot;platformType&quot;: &quot;A String&quot;, # The platform type.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700153 },
154 ],
155 &quot;themeColor&quot;: &quot;A String&quot;, # A hint to the client UI for what color to use as an app-themed color. The color is given as an RGB triplet (e.g. &quot;E0E0E0&quot;).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700156 &quot;leaderboard_count&quot;: 42, # The number of leaderboards visible to the currently authenticated player.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800157 &quot;description&quot;: &quot;A String&quot;, # The description of the application.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800158 &quot;assets&quot;: [ # The assets of the application.
159 { # An image asset object.
160 &quot;url&quot;: &quot;A String&quot;, # The URL of the asset.
161 &quot;width&quot;: 42, # The width of the asset.
162 &quot;kind&quot;: &quot;A String&quot;, # Uniquely identifies the type of this resource. Value is always the fixed string `games#imageAsset`.
163 &quot;name&quot;: &quot;A String&quot;, # The name of the asset.
164 &quot;height&quot;: 42, # The height of the asset.
165 },
166 ],
167 &quot;author&quot;: &quot;A String&quot;, # The author of the application.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700168 &quot;category&quot;: { # An application category object. # The category of the application.
169 &quot;secondary&quot;: &quot;A String&quot;, # The secondary category.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700170 &quot;primary&quot;: &quot;A String&quot;, # The primary category.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700171 &quot;kind&quot;: &quot;A String&quot;, # Uniquely identifies the type of this resource. Value is always the fixed string `games#applicationCategory`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700172 },
John Asmuth614db982014-04-24 15:46:26 -0400173 }</pre>
174</div>
175
176<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700177 <code class="details" id="played">played(x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700178 <pre>Indicate that the currently authenticated user is playing your application.
John Asmuth614db982014-04-24 15:46:26 -0400179
180Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700181 x__xgafv: string, V1 error format.
182 Allowed values
183 1 - v1 error format
184 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400185</pre>
186</div>
187
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800188<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700189 <code class="details" id="verify">verify(applicationId, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700190 <pre>Verifies the auth token provided with this request is for the application with the specified ID, and returns the ID of the player it was granted for.
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800191
192Args:
193 applicationId: string, The application ID from the Google Play developer console. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700194 x__xgafv: string, V1 error format.
195 Allowed values
196 1 - v1 error format
197 2 - v2 error format
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800198
199Returns:
200 An object of the form:
201
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700202 { # A third party application verification response resource.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800203 &quot;alternate_player_id&quot;: &quot;A String&quot;, # An alternate ID that was once used for the player that was issued the auth token used in this request. (This field is not normally populated.)
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800204 &quot;kind&quot;: &quot;A String&quot;, # Uniquely identifies the type of this resource. Value is always the fixed string `games#applicationVerifyResponse`.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800205 &quot;player_id&quot;: &quot;A String&quot;, # The ID of the player that was issued the auth token used in this request.
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800206 }</pre>
207</div>
208
John Asmuth614db982014-04-24 15:46:26 -0400209</body></html>