New User (NRU) Lookup
- Print
- PDF
New User (NRU) Lookup
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
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 for new users.
request
GET https://dashboard-api.gamepot.ntruss.com/v1/api/project/{projectId}/user/statistics/nru?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 | Views (cases) |
date | String | Counting date |
count | int | Applicable date) NRU |
example
Request example
curl --request GET \
--url https://dashboard-api.gamepot.ntruss.com/v1/api/project/12a0f2ff-xxxx-xxxx-xxxx-9c13ef02f5fs/user/statistics/nru?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": "2020-04-10",
"count": 2
}
},
...
{
"node": {
"date": "2020-04-14",
"count": 1
}
}
]
}
}
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 a new user (NRU) inquiry API request.
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 |
Was this article helpful?