Add reference data mappings and auto-download for PokeDB import tool

Add mappings module with pokemon form, location area, encounter method,
and version mappings. Auto-download PokeDB JSON exports from CDN on
first run, caching in .pokedb_cache/.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Julian Tabel
2026-02-11 10:02:57 +01:00
parent 1aa67665ff
commit df7ea64b9e
6 changed files with 477 additions and 40 deletions

3
.gitignore vendored
View File

@@ -60,8 +60,9 @@ temp/
*.tmp
*.temp
# PokeAPI fetch cache
# PokeAPI / PokeDB data cache
.pokeapi_cache/
.pokedb_cache/
# Go build output
tools/fetch-pokeapi/fetch-pokeapi