Downloads card images from Scryfall.
Go to file
James Skemp b5a7fa96c8 Update interested sets 2024-01-14 11:55:47 -06:00
.vscode Add initial code to get limited card data 2024-01-09 18:56:52 -06:00
Models Add initial code to get limited card data 2024-01-09 18:56:52 -06:00
.gitignore Add initial code to get limited card data 2024-01-09 18:56:52 -06:00
Program.cs Update interested sets 2024-01-14 11:55:47 -06:00
README.md Add functionality to save set images 2024-01-11 22:19:43 -06:00
mtg-card-image-downloader.csproj Add initial code to get limited card data 2024-01-09 18:56:52 -06:00
mtg-card-image-downloader.sln Add initial code to get limited card data 2024-01-09 18:56:52 -06:00

README.md

MTG Card Image Downloader

Downloads card images from Scryfall.

Requirements

  • .NET 8

Running

  1. Download the All Cards bulk data file from https://scryfall.com/docs/api/bulk-data
  2. 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.

Pending Improvements

  • Allow sets to download to be passed via argument or via configuration.