Relates PokeAPI results to official images 😊
Inside the project run these commands:
pipenv shell
pipenv sync
python main.py
This will generate a pokemons.json
file.
Each entry on the JSON file will contain:
{
"id": "001",
"name": "bulbasaur",
"image_hq": "https://assets.pokemon.com/assets/cms2/img/pokedex/full/001.png",
"image": "https://assets.pokemon.com/assets/cms2/img/pokedex/detail/001.png",
"types": [
{
"name": "poison",
"slot": 2
},
{
"name": "grass",
"slot": 1
}
]
},