= Anki Pokemon flashcards generator == Context Wanting to learn the Pokedex using flashcards on Anki I haven't found decks which were convenient for my usage therefore I created a handy script that scrap Pokemon pictures and then format a csv file which is easily importable into Anki. == Procedure and usage This script will download every Pokedex entry for a given generation. It scraps https://www.pokemontrash.com/[Pokemon Trash] website which only contains entries from 1st to 7th generation but contains good quality Pokemon PNG pictures. Then, strings are formatted and written to a csv file that you'd then import into Anki. WARNING: Based on its nature, scrapping is not guaranteed to work in the future. Also, this script retrieves french Pokemon names. [source,shell] ----- usage: pokemons_to_anki.py [-h] -g GENERATION [-p IMAGES_PATH] [-f FILENAME] optional arguments: -h, --help show this help message and exit -g GENERATION, --generation GENERATION Generation to retrieve <1-7> -p IMAGES_PATH, --images-path IMAGES_PATH Where to store Pokemons pictures, default to ./Pictures -f FILENAME, --filename FILENAME Name of CSV produced in output, default to output.csv ----- == CSV Output and flashcard example [.right] image:flashcard_example.png[Camérupt flashcard] [source, csv]
N°252 ;Arcko
N°253 ;Massko
N°254 ;Jungko
N°255 ;Poussifeu
N°256 ;Galifeu
N°257 ;Braségali
N°258 ;Gobou
N°259 ;Flobio
N°260 ;Laggron
N°261 ;Medhyèna
N°262 ;Grahyèna
N°263 ;Zigzaton
N°264 ;Linéon
N°265 ;Chenipotte
N°266 ;Armulys
N°267 ;Charmillon
N°268 ;Blindalys
N°269 ;Papinox
N°270 ;Nénupiot
N°271 ;Lombre
N°272 ;Ludicolo ...