Skip to content

Latest commit

 

History

History

client

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

@gw2api/client

This package provies a high level abstraction to access the Guild Wars 2 API in a typesafe way.

Usage

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, ... }>

Installation

npm i @gw2api/client

Contributing

See parent readme.

License

Licensed under the MIT License.