1.17.1 • Published 7 months ago

hearthstonejson-client v1.17.1

Weekly downloads
25
License
ISC
Repository
github
Last release
7 months ago

HearthstoneJSON Client

GitHub Workflow Status (branch) npm

Fetches Hearthstone card data from HearthstoneJSON.

Install

Install the package from npm using your favourite package manager:

$ yarn add hearthstonejson-client

In order to use this package in a browser you'll need something like Webpack or Browserify.

Examples

import HearthstoneJSON from "hearthstonejson-client";

var hsjson = new HearthstoneJSON();

// get the latest data
hsjson.getLatest().then(cards => {
  console.log(cards);
});

// specify a language
hsjson.getLatest("deDE").then(cards => {/*...*/});

// specify a certain Hearthstone build number
hsjson.get(54613).then(cards => {/*...*/});

Typings

Typescript typings are included as index.d.ts and should automatically be picked up by Typescript.

1.17.1

7 months ago

1.17.0

7 months ago

1.16.0

2 years ago

1.15.0

2 years ago

1.14.0

2 years ago

1.13.0

3 years ago

1.12.0

3 years ago

1.11.0

4 years ago

1.10.0

4 years ago

1.9.0

4 years ago

1.8.0

4 years ago

1.7.0

4 years ago

1.6.0

4 years ago

1.5.0

4 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.8.6

6 years ago

0.8.5

6 years ago

0.8.4

7 years ago

0.8.3

7 years ago

0.7.1

7 years ago

0.8.1

7 years ago

0.8.0

7 years ago