This package provies a high level abstraction to access the Guild Wars 2 API in a typesafe way.
Warning
This package is still highly Work In Progress and the API might change drastically in the first few versions.
import { Gw2ApiClient } from '@gw2api/client';
const client = new Gw2ApiClient();
// get the first 10 items in german
const items = await client.items.lang('de').page(0, 10);
// -> Array<{ id: number, name: string, ... }>
npm i @gw2api/client
See parent readme.
Licensed under the MIT License.