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 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):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. |"]]