3.8.1 • Published 7 years ago

mtgjson v3.8.1

Weekly downloads
2
License
MIT
Repository
-
Last release
7 years ago

mtgjson

Fetches AllSets.json from http://mtgjson.com and caches it so you are always sure to have the newest version.

Includes AllSets.json to make loading time faster. This module follow the versioning of mtgjson.com.

Note - the JSON data is collected by @Sembiance, https://github.com/Sembiance/mtgjson.

Installation

npm install mtgjson

Usage

var mtgjson = require('mtgjson');

mtgjson(function(err, data) {
	if (err) return console.log(err);

	console.log(data.LEA.cards); // Prints out all cards from the Limited Edition Alpha (LEA) set
});

License

MIT

3.8.1

7 years ago

2.14.0

9 years ago

2.10.1

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.0

10 years ago