blob: 5fae123189b9e1df6bd0a26ac07a4dbc2882c1e2 [file] [log] [blame]
<html><body>
<style>
body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
body {
font-size: 13px;
padding: 1em;
}
h1 {
font-size: 26px;
margin-bottom: 1em;
}
h2 {
font-size: 24px;
margin-bottom: 1em;
}
h3 {
font-size: 20px;
margin-bottom: 1em;
margin-top: 1em;
}
pre, code {
line-height: 1.5;
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}
pre {
margin-top: 0.5em;
}
h1, h2, h3, p {
font-family: Arial, sans serif;
}
h1, h2, h3 {
border-bottom: solid #CCC 1px;
}
.toc_element {
margin-top: 0.5em;
}
.firstline {
margin-left: 2 em;
}
.method {
margin-top: 1em;
border: solid 1px #CCC;
padding: 1em;
background: #EEE;
}
.details {
font-weight: bold;
font-size: 14px;
}
</style>
<h1><a href="games_v1.html">Google Play Game Services</a> . <a href="games_v1.stats.html">stats</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#get">get(x__xgafv=None)</a></code></p>
<p class="firstline">Returns engagement and spend statistics in this application for the</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="get">get(x__xgafv=None)</code>
<pre>Returns engagement and spend statistics in this application for the
currently authenticated user.
Args:
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # A third party stats resource.
&quot;days_since_last_played&quot;: 42, # Number of days since the player last played this game. E.g., 0, 1, 5, 10,
# ... . Not populated if there is not enough information.
&quot;spend_probability&quot;: 3.14, # The probability of the player going to spend the game in the next seven
# days. E.g., 0, 0.25, 0.50, 0.75. Not populated if there is not enough
# information.
&quot;spend_percentile&quot;: 3.14, # The approximate spend percentile of the player in this game. E.g., 0, 0.25,
# 0.5, 0.75. Not populated if there is not enough information.
&quot;kind&quot;: &quot;A String&quot;, # Uniquely identifies the type of this resource. Value is always the fixed
# string `games#statsResponse`.
&quot;high_spender_probability&quot;: 3.14, # The probability of the player going to spend beyond a threshold amount of
# money. E.g., 0, 0.25, 0.50, 0.75. Not populated if there is not enough
# information.
&quot;num_sessions&quot;: 42, # The approximate number of sessions of the player within the last 28 days,
# where a session begins when the player is connected to Play Games Services
# and ends when they are disconnected. E.g., 0, 1, 5, 10, ... . Not populated
# if there is not enough information.
&quot;churn_probability&quot;: 3.14, # The probability of the player not returning to play the game in the next
# day. E.g., 0, 0.1, 0.5, ..., 1.0. Not populated if there is not enough
# information.
&quot;num_sessions_percentile&quot;: 3.14, # The approximation of the sessions percentile of the player within the last
# 30 days, where a session begins when the player is connected to Play Games
# Services and ends when they are disconnected. E.g., 0, 0.25, 0.5, 0.75. Not
# populated if there is not enough information.
&quot;num_purchases&quot;: 42, # Number of in-app purchases made by the player in this game. E.g., 0, 1, 5,
# 10, ... . Not populated if there is not enough information.
&quot;total_spend_next_28_days&quot;: 3.14, # The predicted amount of money that the player going to spend in the next 28
# days. E.g., 1, 30, 60, ... . Not populated if there is not enough
# information.
&quot;avg_session_length_minutes&quot;: 3.14, # Average session length in minutes of the player. E.g., 1, 30, 60, ... . Not
# populated if there is not enough information.
}</pre>
</div>
</body></html>