gw2

Guild Wars 2 API client for Node.

Usage no npm install needed!

<script type="module">
  import gw2 from 'https://cdn.skypack.dev/gw2';
</script>

README

Guild Wars 2 API client for Node.

Installation

npm install gw2

Usage

const gw2 = require('gw2')

const client = new gw2.Client()

client.get('achievements/daily').then(data => {
    //
})

client.get('account', { token: 'API-KEY' }).then(data => {
    //
})

License

MIT