Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cpsibo/mtg-printings-counter
Powershell utility to count all of the unique printings in an MTG set
https://github.com/cpsibo/mtg-printings-counter
magic-the-gathering powershell scryfall-api
Last synced: about 2 months ago
JSON representation
Powershell utility to count all of the unique printings in an MTG set
- Host: GitHub
- URL: https://github.com/cpsibo/mtg-printings-counter
- Owner: CPSibo
- License: mit
- Created: 2024-11-12T02:13:00.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-12T02:25:03.000Z (about 2 months ago)
- Last Synced: 2024-11-12T03:22:19.926Z (about 2 months ago)
- Topics: magic-the-gathering, powershell, scryfall-api
- Language: PowerShell
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MTG Printings Counter
This utility counts all of the unique printings for cards in a MTG set. For instance, if the card with collector number 42 has non-foil, foil, and etched foil versions, it will be shown as having 3 printings. This is useful for planning collections and organizing binders.You can run this via powershell on windows.
## Examples
### Basic
```ps
.\getMtgSetPrintings.ps1 -setCode "fnd"
```
This will output all cards found with their number of finishes, plus total counts below. `setCode` refers to the [three-letter code given to sets on scryfall](https://scryfall.com/sets).### Minimum Finishes
```ps
.\getMtgSetPrintings.ps1 -setCode "fnd" -minFinishes 3
```
This will restrict the card output to only ones with at least `minFinishes` finishes. The totals at the bottom are unaffected by `minFinishes`.## Acknowledgements
This tool uses the [Scryfall API](https://scryfall.com/docs/api) to retrieve data.