Tokens.xml for M:tG
Go to file
Basile Clement 0149a59692
Update token links to cards.scryfall.io (#209)
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.
2024-02-17 16:38:30 +01:00
.github increase cache time 2024-02-03 16:18:50 +01:00
LICENSE Initial commit 2014-07-27 11:15:08 +08:00
README.md Change token file wording 2023-05-31 14:42:37 -04:00
refresh.py Update token links to cards.scryfall.io (#209) 2024-02-17 16:38:30 +01:00
tokens.xml Add picture to UNF Sketch token (#258) 2024-02-05 18:57:39 +01:00
version.txt Add picture to UNF Sketch token (#258) 2024-02-05 18:57:39 +01:00

Discord Gitter Chat

Magic-Token Picture Health

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