Skip to content

Three ways of collecting data: ​

Developer provides game's logs and the logs description, then we download the logs to analysis .
Developer provides database query authority and the related SQL statement and table structure,so that we collecting datas from the database.
Developer provides data interface. We collect data through the HTTP request interface and it would be best that the return data in JSON format.

Notes: If the game is going to be published in many different areas and using different game packages in different areas, you need to add a separate field in the returning datas to store area code like 'TW','HK' etc. or store different gamecode.That we can count the source data from different game packages.

Frequency ​

Every ten minutes a time.

Examples ​

Logs mode: synchronize log files via Rsync to our server.

/usr/bin/rsync -avzP [email protected]::test/testlog_2018-05-13* /appdata/shell/mcwy/logsNew/testlog/ --password-file=/appdata/shell/mcwy/.passwd

API mode:

http://domain.gamedreamer.com/ajj/online.php?serid=2001&sign=f0a35437ed91c79f2ab489cd1e392b07&date=2018-05-14
http://domain.gamedreamer.com/ajj/reg.php?serid=2001&sign=f0a35437ed91c79f2ab489cd1e392b07&date=2018-05-14
http://domain.gamedreamer.com/ajj/login.php?serid=2001&sign=f0a35437ed91c79f2ab489cd1e392b07&date=2018-05-14

Request parameter description ​

parameterillustrationcomments
seridserver idOptional
signSignature for data requests; both parties may customize the algorithmExample: MD5(date + serid + "key"); the key is provided separately, for example, 8-32 characters using uppercase and lowercase letters
daterequest dateRequired