HearthSim/npm-hearthstonejson-client

Name: npm-hearthstonejson-client

Owner: HearthSim

Description: ? HearthstoneJSON client for browsers and Node.

Created: 2016-08-21 12:20:58.0

Updated: 2018-02-06 14:10:35.0

Pushed: 2018-02-09 15:55:58.0

Homepage: https://www.npmjs.com/package/hearthstonejson-client

Size: 198

Language: TypeScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

HearthstoneJSON Client

Travis npm

Fetches data from HearthstoneJSON. Builds are cached in LocalStorage if available.

Install

Install the package from npm using your favourite package manager:

rn add hearthstonejson-client

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

Example
rt HearthstoneJSON from "hearthstonejson-client";

hsjson = new HearthstoneJSON();
on.get(13619, function(cards) {
console.log(cards);

Typings

Typings for Typescript are included as index.d.ts.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.