James Skemp b5a7fa96c8 | ||
---|---|---|
.vscode | ||
Models | ||
.gitignore | ||
Program.cs | ||
README.md | ||
mtg-card-image-downloader.csproj | ||
mtg-card-image-downloader.sln |
README.md
MTG Card Image Downloader
Downloads card images from Scryfall.
Requirements
- .NET 8
Running
- Download the All Cards bulk data file from https://scryfall.com/docs/api/bulk-data
- From the root directory, run
dotnet run path\to\all-cards-date.json
- For example:
dotnet run C:\Users\striv\Downloads\all-cards-20240109101334.json
- Optional arguments:
sets
to get a listing of sets (identifier, name, and release date)save
will save interested cards to a cards.json file in the current directory.images
will pull and save the normal (JPG) images for the sets listed after, using a:
separator.- For example,
images:3ed:ice
downloads the 3rd Edition and Ice Age card images.
- For example,
- For example:
Pending Improvements
- Allow sets to download to be passed via argument or via configuration.