TypeScript first packages to work with the Guild Wars 2 API
@gw2api/types
: Strong types for all data structures used by the Guild Wars 2 API@gw2api/fetch
: Tiny wrapper around fetch that returns type-safe responses.@gw2api/client
: High level abstraction to access the Guild Wars 2 API with support for automatic batching, middlewares, caching, rate-limiting and more.
- Clone this repository or make a fork if you plan to submit your changes.
- Run
npm install
to install the required dependencies. - Make your changes.
- Run
npm run test
to test your changes (make sure to include new tests if you add new functionality). - Commit the changes to a new branch and push them to your fork.
- Create a new Pull Request.
Licensed under the MIT License.