guildwars2-ts
Version:
GuildWars 2 API Wrapper in Typescript
17 lines (16 loc) • 453 B
TypeScript
import { ApiBase } from '../../base/apiBase';
/**
* /v2/emblem Api
*/
export declare class EmblemApi extends ApiBase {
/**
* Returns image resources that are needed to render the guild emblems.
*
* @param type - Background or foreground
* @param ids - List of emblem ids, or "all"
*/
get(type: 'foregrounds' | 'backgrounds', ids?: number[] | 'all'): Promise<{
id: number;
layers: string[];
}[]>;
}