New User (NRU) Lookup
    • PDF

    New User (NRU) Lookup

    • PDF

    Article summary

    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}
    
    ItemtypeRequiredExplanationRemark
    projectIdStringOProjectId in GamePot SDK
    startDateStringXStart date to look upYYYY-MM-DD
    endDateStringXLast date you want to viewYYYY-MM-DD
    Note

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

    Request header

    Header nameRequiredExplanation
    x-api-keyOAuthentication key issued by GamePot
    accept-languageXLanguage used

    answer

    Field nametypeExplanation
    statusIntResult (1: Success)
    totalCountintViews (cases)
    dateStringCounting date
    countintApplicable 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.

    parameterExplanation
    statusError code (1: Refer to Error code in case of success or failure )
    messageError details
    Error codeExplanation
    -1If you used a key that is not on the dashboard
    -2The key of the dashboard and the key of the header are different.
    -3When using a key deleted from the dashboard
    -4The dashboard used unused keys.
    -5If the key has expired
    -6If 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 codeExplanation
    -11The format of the startDate value is incorrect. YYYY-MM-DD type only
    -12The format of the endDate value is incorrect. YYYY-MM-DD type only

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.