Represents a player UUID from the API

Hierarchy

Constructors

Properties

apiVersion: `${number}.${number}.${number}`

The version of the requested API route

libVersion: `${number}.${number}.${number}`

The version of the representation of the data by the wrapper

name: string

The account name of the player

receivedAt: number

The unix timestamp indicating when this request was received

This is measured using the local clock.
If the response was returned from cache, then requestedAt, respondedAt and receivedAt may be in the past.
requestedAt: number

The unix timestamp indicating when this request was sent

This is measured using the local clock.
If the response was returned from cache, then requestedAt, respondedAt and receivedAt may be in the past.
respondedAt: number

The unix timestamp indicating when this request was responded to by the API

This is measured using the API server's clock.
If the response was returned from cache, then requestedAt, respondedAt and receivedAt may be in the past.
source: `https://api.wynncraft.com/${string}`

The route used to request the data for this object

This is the value used to identify cache entries. API results with the same source can use the cache.
timestamp: number

The unix timestamp indicating when the data of this request was created

You can use this timestamp to determine how old a piece of data is.
uuid: string

The UUID of the player

Methods

  • Fetches the player stats of the guild member

    This method causes API requests.

    Parameters

    Returns Promise<Player>

Generated using TypeDoc