Login Data
Parameters
| Parameter | Description | Example |
|---|---|---|
| date | Request date. Return the data of the specified date. If this parameter is not set, the current online count should be returned. | 2022-09-01 |
| serverid | Server range. Return the data of the specified servers. If there is no server split, this parameter is not required. Multiple servers should be separated by ,. | 1001,1002 |
| sign | Signature for data requests. Both parties may define the algorithm. It may be omitted when not required. | Example: MD5(date + serid + "key"); the key is provided separately, for example, 8-32 characters using uppercase and lowercase letters. |
Result
| Field | Description | Comment |
|---|---|---|
| date | Login time | 2021-01-01 12:31:29 |
| serverid | Server ID | 20002 |
| uid | Your platform user id | Account user id |
| puid | Game role id | Can be omitted if unavailable |
| ip | IP address when the player logged in | |
| os | Client operating system | android/ios |
| level | Player role level | Can be empty if unavailable |
Result Description
During data collection, return player login flow information within the time range specified by the request parameter date. For the same player on the same server, only the first login of the day is required.
Response Example
json
[
{"date":"2021-01-01 12:31:29","ip":"103.98.19.66","os":"android","puid":1010008,"serverid":1,"uid":393039573},
{"date":"2021-01-01 12:33:25","ip":"103.98.19.66","os":"ios","puid":1010008,"serverid":2,"uid":393039573}
]