StatsApi - functional programming interface

  • Parameters

    • Optionalconfiguration: Configuration

    Returns {
        statsControllerGetActivityStats(
            timeType: StatsControllerGetActivityStatsTimeTypeEnum,
            dataType: StatsControllerGetActivityStatsDataTypeEnum,
            gameServerId?: string,
            startDate?: string,
            endDate?: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<StatsOutputDTOAPI>,
        >;
        statsControllerGetCountryStats(
            gameServerId?: string[],
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<StatsOutputDTOAPI>,
        >;
        statsControllerGetCurrencyStats(
            gameServerId: string,
            playerId?: string,
            startDate?: string,
            endDate?: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<StatsOutputDTOAPI>,
        >;
        statsControllerGetEventsCount(
            eventName: StatsControllerGetEventsCountEventNameEnum,
            bucketStep: StatsControllerGetEventsCountBucketStepEnum,
            sumBy?: StatsControllerGetEventsCountSumByEnum[],
            gameServerId?: string,
            moduleId?: string,
            playerId?: string,
            userId?: string,
            startDate?: string,
            endDate?: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<StatsOutputDTOAPI>,
        >;
        statsControllerGetLatencyStats(
            gameServerId: string,
            startDate?: string,
            endDate?: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<StatsOutputDTOAPI>,
        >;
        statsControllerGetPingStats(
            gameServerId: string,
            playerId: string,
            startDate?: string,
            endDate?: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<StatsOutputDTOAPI>,
        >;
        statsControllerGetPlayerOnlineStats(
            gameServerId?: string,
            startDate?: string,
            endDate?: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<StatsOutputDTOAPI>,
        >;
    }

    • statsControllerGetActivityStats:function
    • statsControllerGetCountryStats:function
      • 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<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<StatsOutputDTOAPI>,
        >

    • statsControllerGetCurrencyStats:function
      • Required permissions: READ_PLAYERS
        OperationId: StatsControllerGetCurrencyStats

        Parameters

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

          Override http request option.

        Returns Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<StatsOutputDTOAPI>,
        >

    • statsControllerGetEventsCount:function
    • statsControllerGetLatencyStats:function
      • 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<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<StatsOutputDTOAPI>,
        >

    • statsControllerGetPingStats:function
      • Required permissions: READ_PLAYERS
        OperationId: StatsControllerGetPingStats

        Parameters

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

          Override http request option.

        Returns Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<StatsOutputDTOAPI>,
        >

    • statsControllerGetPlayerOnlineStats:function
      • Required permissions: READ_PLAYERS
        OperationId: StatsControllerGetPlayerOnlineStats

        Parameters

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

          Override http request option.

        Returns Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<StatsOutputDTOAPI>,
        >