Class OnlinePlayersSum

Represents the sum of online players on Wynncraft

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

players: number

The amount of players currently online on Wynncraft

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.

Generated using TypeDoc