Domain name for API request: gme.tencentcloudapi.com.
This API is used to get the usage statistics of a GME application, including those of voice chat, voice messaging and speech-to-text, phrase analysis, etc. The maximum query period is the past 30 days.
A maximum of 200 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
This document describes the parameters for Signature V1. It's recommended to use the V3 signature, which provides higher security. Note that for Signature V3, the common parameters need to be placed in the HTTP Header. See details.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common parameter. The value used for this API: DescribeAppStatistics. |
Version | Yes | String | Common parameter. The value used for this API: 2018-07-11. |
Region | No | String | Common parameter. This parameter is not required for this API. |
BizId | Yes | Integer | GME application ID |
StartDate | Yes | Date | Data start date (GMT+8) in the format of yyyy-mm-dd, such as 2018-07-13 |
EndDate | Yes | Date | Data end date (GMT+8) in the format of yyyy-mm-dd, such as 2018-07-13 |
Services.N | Yes | Array of String | List of services to be queried. Valid values: RealTimeSpeech, VoiceMessage, VoiceFilter |
Parameter Name | Type | Description |
---|---|---|
Data | DescribeAppStatisticsResp | App usage statistics |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://gme.tencentcloudapi.com/?Action=DescribeAppStatistics
&BizId=140000001
&StartDate=2019-08-01
&EndDate=2019-08-03
&Services.0=RealTimeSpeech
&Services.1=VoiceMessage
&<common request parameters>
{
"Response": {
"Data": {
"AppStatistics": [
{
"Date": "2019-08-01",
"RealtimeSpeechStatisticsItem": {
"MainLandDau": 10000,
"MainLandPcu": 5000,
"MainLandDuration": 1000000,
"OverseaDau": 5000,
"OverseaPcu": 2000,
"OverseaDuration": 500000
},
"VoiceMessageStatisticsItem": {
"Dau": 68000
},
"VoiceFilterStatisticsItem": null
},
{
"Date": "2019-08-02",
"RealtimeSpeechStatisticsItem": {
"MainLandDau": 10000,
"MainLandPcu": 5000,
"MainLandDuration": 1000000,
"OverseaDau": 5000,
"OverseaPcu": 2000,
"OverseaDuration": 500000
},
"VoiceMessageStatisticsItem": {
"Dau": 68000
},
"VoiceFilterStatisticsItem": null
},
{
"Date": "2019-08-03",
"RealtimeSpeechStatisticsItem": {
"MainLandDau": 10000,
"MainLandPcu": 5000,
"MainLandDuration": 1000000,
"OverseaDau": 5000,
"OverseaPcu": 2000,
"OverseaDuration": 500000
},
"VoiceMessageStatisticsItem": {
"Dau": 68000
},
"VoiceFilterStatisticsItem": null
}
]
},
"RequestId": "9b993045-9fa1-47f4-9d25-79160f305be8"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
FailedOperation | Operation failed. |
InternalError | Internal error. |
InvalidParameter | Incorrect parameter. |
InvalidParameter.DateInvalid | Invalid date. |
InvalidParameter.TimeRangeError | Incorrect query time range. |
ResourceNotFound | The resource does not exist. |
ResourceNotFound.BizidIsNotFound | Incorrect application ID. |
UnauthorizedOperation | Unauthorized operation |
UnknownParameter | Unknown parameter. |
UnsupportedOperation | Operation unsupported. |
Was this page helpful?