Scrape online sources (Bulbapedia) for card data. For use with PokemonTCG/pokemon-tcg-data
Only used and tested so far with Genetic Apex
and Promo-A
from TCG-Pocket.
Deno
from https://deno.com/
import.config.json:
{
"sets": [
["Genetic Apex", "tcgp1"]
]
}
First value is the set name, second is its abbreviation
deno run --allow-read --allow-net --allow-write main.ts --source bulbapedia
The result will be a JSON file per set in the cards/en
folder, ready to be
copied to PokemonTCG/pokemon-tcg-data