0.0.8 • Published 1 month ago

@gw2api/fetch v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

@gw2api/fetch

This package provides a tiny wrapper around native fetch to call the Guild Wars 2 API that returns typesafe responses.

Usage

import { fetchGw2Api } from '@gw2api/fetch';

const item = await fetchGw2Api('/v2/items/1234');
// -> { id: number, name: string, ... }

Installation

npm i @gw2api/fetch

Contributing

See parent readme.

License

Licensed under the MIT License.

0.0.8

1 month ago

0.0.7

1 month ago

0.0.6

1 month ago

0.0.5

3 months ago

0.0.4

3 months ago

0.0.3

3 months ago

0.0.2

3 months ago

0.0.1

3 months ago