mirror of
https://github.com/Cockatrice/Magic-Token.git
synced 2026-04-05 00:35:04 -05:00
Tokens.xml for M:tG
Fix #201. This changes the links from the old CND on c1.scryfall.com to links to the new CDN on cards.scryfall.io. The changes are automated: the refresh.py script can read a tokens.xml file containing CDN picURLs of either version, and makes requests to the Scryfall API to generate the most up-to-date URLs for each token. The script can be run with: $ python3 refresh.py -i tokens.xml $ python3 refresh.py -i challenge_tokens.xml This avoids using api.scryfall.com URLs for the tokens (which are rate-limited) while still being able to update the file with new URLs by running the script. |
||
|---|---|---|
| .github | ||
| LICENSE | ||
| README.md | ||
| refresh.py | ||
| tokens.xml | ||
| version.txt | ||
Magic-Token

This repo contains token information in Cockatrice's XML card database format for Magic: The Gathering.
It describes individual tokens with linked art and the relation to their creators.
Cockatrice pulls its copy of the token file from here: tokens.xml