Console app that fetches a list of Pokémon from Bulbapedia within a specified generation range.
- Download and install Python 3 if you don't have it. 3.9 is recommended but any version 3.6 and up should work.
- Clone the repo, preferrably create and activate a virtual environment and run
pip install -r requirements.txt
using a terminal in the root directory. - To execute the script just run
python generate_pokemon.py
in the terminal while in the root directory, though this may vary slightly depending on how your Python path is configured, just make sure it's pointing to your Python 3 installation and you should be fine. - After this, a
pokemon_list.txt
should be generated in the root directory. Feel free to use that for whatever you need. - If something doesn't behave as expected, you can execute the unit tests by running
pytest -vv
in the terminal and hopefully see what's wrong. You may create an issue if you wish and I'll get back to you when I can.