/mtgjson-python

MTGJSONv4 building tools for Magic: the Gathering

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

MTG JSON is a database of Magic: The Gathering cards in JSON format. This is the code for the next major release, which will be version 4.

If you would like to talk to the devs, join us on Discord!

How to build

First, you will need at least Python 3.6.

Then, run the following to install dependencies:

python3 setup.py install

To build all set files, as well as AllCards.json, AllSets.json, and AllSetsArray.json, run:

python3 -m mtgjson4 -af

For advanced options, see python3 -m mtgjson4 --help.