StatsApi - object-oriented interface

StatsApi

Hierarchy

  • BaseAPI
    • StatsApi

Constructors

  • Parameters

    • Optionalconfiguration: Configuration
    • basePath: string = BASE_PATH
    • axios: AxiosInstance = globalAxios

    Returns StatsApi

Properties

axios: AxiosInstance = globalAxios
basePath: string = BASE_PATH
configuration: undefined | Configuration

Methods

  • Calculates how many players are from each country. Returns a count per country (ISO3166). Required permissions: READ_PLAYERS
    OperationId: StatsControllerGetCountryStats

    Parameters

    • OptionalgameServerId: string[]
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<StatsOutputDTOAPI>>

    StatsApi

  • Required permissions: READ_PLAYERS
    OperationId: StatsControllerGetCurrencyStats

    Parameters

    • gameServerId: string
    • OptionalplayerId: string
    • OptionalstartDate: string
    • OptionalendDate: string
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<StatsOutputDTOAPI>>

    StatsApi

  • The roundtrip time for reachability tests between Takaro and the game server
    OperationId: StatsControllerGetLatencyStats

    Parameters

    • gameServerId: string
    • OptionalstartDate: string
    • OptionalendDate: string
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<StatsOutputDTOAPI>>

    StatsApi

  • Required permissions: READ_PLAYERS
    OperationId: StatsControllerGetPingStats

    Parameters

    • gameServerId: string
    • playerId: string
    • OptionalstartDate: string
    • OptionalendDate: string
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<StatsOutputDTOAPI>>

    StatsApi

  • Required permissions: READ_PLAYERS
    OperationId: StatsControllerGetPlayerOnlineStats

    Parameters

    • OptionalgameServerId: string
    • OptionalstartDate: string
    • OptionalendDate: string
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<StatsOutputDTOAPI>>

    StatsApi