Skip to main content

Class: RotationManager

Constructors​

constructor​

• new RotationManager(token)

Parameters​

NameType
tokenstring

Defined in​

lib/managers/RotationManager.ts:7

Properties​

#token​

• Private #token: string

Defined in​

lib/managers/RotationManager.ts:6

Methods​

get​

▸ get(options?): Promise<Event[]>

Get the events rotation from the API.

Parameters​

NameTypeDescription
options?RotationOptionsThe options to for data formatting.

Returns​

Promise<Event[]>

Defined in​

lib/managers/RotationManager.ts:15