README

This small script takes any decklist from an MTGO list and pulls all card images as jpg files into your directory.

This work is free of course, but if you like mtg, gadgetry, and nerd stuff feel free to follow me on https://www.twitter.com/izzitmichaela for more projects!

INSTRUCTIONS FOR USE

INSTALLING PYTHON:
If you have never used python before - yo'll need to install the environment. The environment I have is anaconda, which you can download below:
https://www.anaconda.com/products/individual

It might be too much for your needs - if you know of a simpler python environment feel free to use any one you like.

You may also need to install the requests package. You can use this link to download that once you have installed python.
Installing the requests package -  

Okay now that python is set up you're ready to go!

0-Download files included in the project. There should be two - a deck txt file and a python runner file

1-Go to https://scryfall.com/docs/api/bulk-data
2-Download the 'All Cards' File from the list.
3-Ensure that the name of the file is "all-cards.json".
4-Place file in the SAME folder as the other files.
5-Update the Deck txt file to include whatever cards you would wish.
	NOTE: Be sure they are in MTGO format, and be sure that only cards with single digit quantities are present
	This means you cannot have '15 Abrade' but you can have '9 Abrade'
6-Run the python file. If you want the little white corners cropped off, select the Runner_croppedBorders program. This stores them as png files rather than jpgs and are larger, but they look cleaner and dont have those silly white parts on the four corners.

The jpg files should appear in your directory after a moment or two!

Enjoy!


GitHub

View Github