Method: stats.get
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
বর্তমানে প্রমাণীকৃত ব্যবহারকারীর জন্য এই অ্যাপ্লিকেশনটিতে ব্যস্ততা এবং ব্যয়ের পরিসংখ্যান প্রদান করে।
HTTP অনুরোধ
GET https://games.googleapis.com/games/v1/stats
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
একটি তৃতীয় পক্ষের পরিসংখ্যান সম্পদ।
সফল হলে, প্রতিক্রিয়া বডিতে নিম্নলিখিত কাঠামোর সাথে ডেটা থাকে:
JSON প্রতিনিধিত্ব |
---|
{
"churn_probability": number,
"num_purchases": integer,
"spend_percentile": number,
"days_since_last_played": integer,
"num_sessions": integer,
"num_sessions_percentile": number,
"avg_session_length_minutes": number,
"spend_probability": number,
"high_spender_probability": number,
"total_spend_next_28_days": number,
"kind": string
} |
ক্ষেত্র |
---|
churn_probability | number আগামী দিনে খেলায় ফিরে না আসার সম্ভাবনা। যেমন, 0, 0.1, 0.5, ..., 1.0। পর্যাপ্ত তথ্য না থাকলে জনবহুল নয়। |
num_purchases | integer এই গেমটিতে প্লেয়ার দ্বারা অ্যাপ-মধ্যস্থ কেনাকাটার সংখ্যা। যেমন, 0, 1, 5, 10, ...। পর্যাপ্ত তথ্য না থাকলে জনবহুল নয়। |
spend_percentile | number এই গেমটিতে খেলোয়াড়ের আনুমানিক খরচের শতাংশ। যেমন, 0, 0.25, 0.5, 0.75। পর্যাপ্ত তথ্য না থাকলে জনবহুল নয়। |
days_since_last_played | integer প্লেয়ার শেষবার এই গেমটি খেলার পর থেকে দিন সংখ্যা৷ যেমন, 0, 1, 5, 10, ...। পর্যাপ্ত তথ্য না থাকলে জনবহুল নয়। |
num_sessions | integer গত 28 দিনের মধ্যে প্লেয়ারের সেশনের আনুমানিক সংখ্যা, যেখানে প্লেয়ার প্লে গেম পরিষেবাগুলির সাথে সংযুক্ত থাকলে একটি সেশন শুরু হয় এবং সংযোগ বিচ্ছিন্ন হয়ে গেলে শেষ হয়৷ যেমন, 0, 1, 5, 10, ...। পর্যাপ্ত তথ্য না থাকলে জনবহুল নয়। |
num_sessions_percentile | number গত 30 দিনের মধ্যে প্লেয়ারের সেশন পার্সেন্টাইলের আনুমানিকতা, যেখানে প্লেয়ার প্লে গেম পরিষেবাগুলির সাথে সংযুক্ত থাকলে একটি সেশন শুরু হয় এবং সেগুলি সংযোগ বিচ্ছিন্ন হয়ে গেলে শেষ হয়৷ যেমন, 0, 0.25, 0.5, 0.75। পর্যাপ্ত তথ্য না থাকলে জনবহুল নয়। |
avg_session_length_minutes | number খেলোয়াড়ের মিনিটে গড় সেশনের দৈর্ঘ্য। যেমন, 1, 30, 60, ...। পর্যাপ্ত তথ্য না থাকলে জনবহুল নয়। |
spend_probability | number আগামী সাত দিনে খেলোয়াড়ের খেলা কাটানোর সম্ভাবনা। যেমন, 0, 0.25, 0.50, 0.75। পর্যাপ্ত তথ্য না থাকলে জনবহুল নয়। |
high_spender_probability | number প্লেয়ারের একটি থ্রেশহোল্ড পরিমাণ অর্থের বাইরে ব্যয় করার সম্ভাবনা। যেমন, 0, 0.25, 0.50, 0.75। পর্যাপ্ত তথ্য না থাকলে জনবহুল নয়। |
total_spend_next_28_days | number খেলোয়াড় পরবর্তী ২৮ দিনে যে পরিমাণ অর্থ ব্যয় করবে তার পূর্বাভাস। যেমন, 1, 30, 60, ...। পর্যাপ্ত তথ্য না থাকলে জনবহুল নয়। |
kind | string অনন্যভাবে এই সম্পদের ধরন সনাক্ত করে। মান সবসময় স্থির স্ট্রিং games#statsResponse . |
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগগুলির মধ্যে একটি প্রয়োজন:
-
https://www.googleapis.com/auth/games
-
https://www.googleapis.com/auth/games_lite
আরও তথ্যের জন্য, OAuth 2.0 ওভারভিউ দেখুন।
এই পৃষ্ঠার কন্টেন্ট ও কোডের নমুনাগুলি Content License-এ বর্ণিত লাইসেন্সের অধীনস্থ। Java এবং OpenJDK হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Method: stats.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.PlayerStats.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nReturns engagement and spend statistics in this application for the currently authenticated user.\n\n### HTTP request\n\n`GET https://games.googleapis.com/games/v1/stats`\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nA third party stats resource.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"churn_probability\": number, \"num_purchases\": integer, \"spend_percentile\": number, \"days_since_last_played\": integer, \"num_sessions\": integer, \"num_sessions_percentile\": number, \"avg_session_length_minutes\": number, \"spend_probability\": number, \"high_spender_probability\": number, \"total_spend_next_28_days\": number, \"kind\": string } ``` |\n\n| Fields ||\n|------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `churn_probability` | `number` 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. |\n| `num_purchases` | `integer` 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. |\n| `spend_percentile` | `number` 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. |\n| `days_since_last_played` | `integer` Number of days since the player last played this game. E.g., 0, 1, 5, 10, ... . Not populated if there is not enough information. |\n| `num_sessions` | `integer` 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. |\n| `num_sessions_percentile` | `number` 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. |\n| `avg_session_length_minutes` | `number` Average session length in minutes of the player. E.g., 1, 30, 60, ... . Not populated if there is not enough information. |\n| `spend_probability` | `number` 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. |\n| `high_spender_probability` | `number` 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. |\n| `total_spend_next_28_days` | `number` 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. |\n| `kind` | `string` Uniquely identifies the type of this resource. Value is always the fixed string `games#statsResponse`. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/games`\n- `\n https://www.googleapis.com/auth/games_lite`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]