2.2.0 • Published 7 months ago
@blizzard-api/client v2.2.0
@blizzard-api/client
This package provides a client that is meant to be used together with one or more of the packages dedicated to a blizzard game.
Currently available packages are:
@blizzard-api/classic-wow@blizzard-api/d3@blizzard-api/hs@blizzard-api/sc2@blizzard-api/wow
Installation
npm i @blizzard-api/clientUsage
import { createBlizzardApiClient } from '@blizzard-api/client';
//or
import createBlizzardApiClient from '@blizzard-api/client';
import { wow } from '@blizzard-api/wow';
const client = await createBlizzardApiClient({
key: 'environment.blizzardClientId',
secret: 'environment.blizzardClientSecret',
origin: 'eu',
});
//Response will automatically be typed with the appropriate values
const response = await client.sendRequest(wow.commodities());
console.log(response);
^ typeof AuctionHouseCommoditiesResponseAuthentication
Please refer to the battle.net documentation for guides on how to obtain Blizzard API credentials.
2.1.2
9 months ago
2.0.3
10 months ago
2.2.0
7 months ago
2.1.1
9 months ago
2.0.2
1 year ago
2.1.3
8 months ago
2.1.0
10 months ago
2.0.1
1 year ago
2.0.0
1 year ago
1.0.10
1 year ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.2
2 years ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.1
2 years ago
1.0.0
2 years ago
0.2.4
2 years ago
0.2.3
2 years ago
0.2.1
2 years ago
0.2.2
2 years ago
0.2.0
2 years ago
0.1.0
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago