Method: applications.get
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
擷取具有指定 ID 的應用程式中繼資料。如果要求的應用程式不適用於指定的 platformType
,則傳回的回應將不會包含任何執行個體資料。
HTTP 要求
GET https://games.googleapis.com/games/v1/applications/{applicationId}
路徑參數
參數 |
applicationId |
string
Google Play 開發人員控制台中的應用程式 ID。
|
查詢參數
參數 |
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 (世界標準時間)。
[[["容易理解","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-27 (世界標準時間)。"],[],[],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. |"]]