UNPKG

@ariusii/intersect.ts

Version:

The Intersect Engine API Client Library based on TS.

31 lines 1.07 kB
/** * This is the Logs Class, it contains all the methods to handle the logs. * Those actions do not require any Query Role. * @class Logs * @link https://docs.freemmorpgmaker.com/en-US/api/v1/endpoints/logs.html * @author AriusII */ export declare class Logs { private _url; private _token; constructor(_url: string, _token: string); /** * Retrieve player activity * @param player - The player ID you want to retrieve the activity for. * @returns - The response from the server. */ playerActivity(player: string): Promise<any>; /** * Retrieve user activity * @param user - The user ID you want to retrieve the activity for. * @returns - The response from the server. */ userActivity(user: string): Promise<any>; /** * Retrieve user activity by ip * @param user - The user ID you want to retrieve the activity for. * @returns - The response from the server. */ userActivityByIP(user: string): Promise<any>; } //# sourceMappingURL=logs.d.ts.map