Important
This repository is currently a WIP and as such isn't finished.
Access all of the Guild Wars 2 APIs with typescript support!
import { GuildWars2, Schema } from '@ribbon-studios/guild-wars-2';
const gw2 = new GuildWars2({
access_token: '<my-super-secret-api-key>',
v: Schema.V0,
});
export async function example(token: string) {
await gw2.v1.mapNames();
await gw2.v2.minis.list({
ids: 'all',
});
}