@zikeji/hypixel / Recentgames
Class: Recentgames
Example
typescript
const recent = await client.recentgames.uuid("20934ef9488c465180a78f861586b4cf");Extends
Method
Methods
API
uuid()
uuid(
uuid):Promise<object[] &object>
Returns recent games of a player. A maximum of 100 games are returned and recent games are only stored for up to 3 days at this time.
Parameters
uuid
string
Returns
Promise<object[] & object>
Example
typescript
const response = await client.recentgames.uuid("20934ef9488c465180a78f861586b4cf");
console.log(response);