Daily access (DAU) inquiry

Prev Next

We are preparing a localization service for the content. We will do our best to provide the localization service as soon as possible.

You can search daily users.

request

GET https://dashboard-api.gamepot.ntruss.com/v1/api/project/{projectId}/user/statistics/dau?startDate={startDate}&endDate={endDate}
Item type Required Explanation Remark
projectId String O ProjectId in GamePot SDK
startDate String X Start date to look up YYYY-MM-DD
endDate String X Last date you want to view YYYY-MM-DD
Note

If startDate and endDate are not included in the query, data for the last 30 days is retrieved.

Request header

Header name Required Explanation
x-api-key O Authentication key issued by GamePot
accept-language X Language used

answer

Field name type Explanation
status Int Result (1: Success )
totalCount Int dau Search Result (Number)
date String Counting date and time
count Int (Date) DAU

example

Request example

curl --request GET \
--url https://dashboard-api.gamepot.ntruss.com/v1/api/project/12a0f2ff-xxxx-xxxx-xxxx-9c13ef02f5fs/user/statistics/dau?startDate=2020-03-01&endDate=2020-06-01
--header 'accept-language: ko' \
--header 'x-api-key: 86dcgffae0641745432as02a8801ce5a5475f764fxxxxxxxxx'

Example response

{
  "status": 1,
  "result": {
    "totalCount": 3,
    "edges": [
      {
        "node": {
          "date": "Fri Apr 10 2020 09:00:00 GMT+0900 (Korean Standard Time)",
          "count": 2
        }
      },

      ...

      {
        "node": {
          "date": "Tue Apr 14 2020 09:00:00 GMT+0900 (Korean Standard Time)",
          "count": 4
        }
      }
    ]
  }
}

Error code

Common error code that occurs when requesting Gamepot Open API.

parameter Explanation
status Error code (1: Refer to Error code in case of success or failure )
message Error details
Error code Explanation
-1 If you used a key that is not on the dashboard
-2 The key of the dashboard and the key of the header are different.
-3 When using a key deleted from the dashboard
-4 The dashboard used unused keys.
-5 If the key has expired
-6 If there is no project ID
{
  "status": -6,
  "message": "projectId was wrong."
}

This is an error code that occurs when requesting the Daily Access (DAU) API.

Error code Explanation
-11 The format of the startDate value is incorrect. YYYY-MM-DD type only
-12 The format of the endDate value is incorrect. YYYY-MM-DD type only