Class TRN

Classdesc

Handler for game statistics supplied via the Tracker Network API.

Param

Tracker Network Key to authenticate API Requests

Hierarchy

  • TRN

Constructors

Properties

Methods

Constructors

Properties

key: string

Methods

  • It takes in a username and platform and returns the data from the API.

    Async

    Returns

    The data object from the response.

    Parameters

    • options: GameOptions

    Returns Promise<any>

  • It takes in a username and platform, and returns the stats of the user.

    Async

    Returns

    the info object from the response.

    Parameters

    • options: GameOptions

    Returns Promise<any>

  • Private

    It takes a URL, makes a GET request to it, and returns the body of the response

    Async

    Returns

    The response from the API.

    Parameters

    • url: string

      The URL to send the request to.

    Returns Promise<any>

Generated using TypeDoc