guildwars2-ts
Version:
GuildWars 2 API Wrapper in Typescript
26 lines (25 loc) • 681 B
TypeScript
import { ApiBase } from '../../base/apiBase';
/**
* /v2/home Api
*/
export declare class HomeApi extends ApiBase {
/**
* Returns information about cats.
* Identical to /v2/cats
*
* @param ids - List of cat ids, or "all"
*/
getCats(ids?: number[] | 'all'): Promise<{
id: number;
hint?: string | undefined;
}[]>;
/**
* Returns a list of all currently available home instance nodes.
* Can be resolved against /v2/account/home/nodes to identify an account's unlocked nodes.
*
* @param ids - List of node ids, or "all"
*/
getNodes(ids?: string[] | 'all'): Promise<{
id: string;
}[]>;
}