Method: applications.get
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מאחזר את המטא-נתונים של האפליקציה עם המזהה הנתון. אם האפליקציה המבוקשת לא זמינה ל-platformType
שצוין, התגובה שתוחזר לא תכלול נתוני מכונה.
בקשת HTTP
GET https://games.googleapis.com/games/v1/applications/{applicationId}
פרמטרים של נתיב
פרמטרים |
applicationId |
string
מזהה האפליקציה ממסוף המפתחים של Google Play.
|
פרמטרים של שאילתה
פרמטרים |
language |
string
השפה המועדפת לשימוש במחרוזות שמוחזרות בשיטה הזו.
|
platformType |
enum (PlatformType )
הגבלת פרטי האפליקציה שמוחזרים לפלטפורמה הספציפית.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התגובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכלול מופע של Application
.
היקפי הרשאות
כדי להשתמש בתכונה הזו יש צורך באחד מההיקפים הבאים של OAuth:
https://www.googleapis.com/auth/games
https://www.googleapis.com/auth/games_lite
למידע נוסף, עיין בסקירה הכללית על OAuth 2.0.
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# Method: applications.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [PlatformType](#PlatformType)\n- [Try it!](#try-it)\n\nRetrieves 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.\n\n### HTTP request\n\n`GET https://games.googleapis.com/games/v1/applications/{applicationId}`\n\n### Path parameters\n\n| Parameters ||\n|-----------------|---------------------------------------------------------------------|\n| `applicationId` | `string` The application ID from the Google Play developer console. |\n\n### Query parameters\n\n| Parameters ||\n|----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `language` | `string` The preferred language to use for strings returned by this method. |\n| `platformType` | `enum (`[PlatformType](/games/services/web/api/rest/v1/applications/get#PlatformType)`)` Restrict application details returned to the specific platform. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Application](/games/services/web/api/rest/v1/applications#Application).\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).\n\nPlatformType\n------------\n\nEnumeration of all possible platforms for Play Games Services.\n\n| Enums ||\n|-----------|----------------------------------------------------------|\n| `ANDROID` | Retrieve applications that can be played on Android. |\n| `IOS` | Retrieve applications that can be played on iOS. |\n| `WEB_APP` | Retrieve applications that can be played on desktop web. |"]]