Skip to content

EfrainAndres/Python-Pytest-Pokeapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Challenge

  1. Get how many pokemon have "at" in their names and have 2 "a" in their name, including the first "at". Your answer must be a number.
  2. How many species of pokémon can raichu breed with (2 Pokémon can breed if they are in the same egg group). Your answer must be a number. Remember to eliminate duplicates.
  3. Give the maximum and minimum weight of first generation fighting type pokémon (whose id is less than or equal to 151). Your answer must be a list with the following format: [1234, 12], where 1234 corresponds to the maximum weight and 12 to the minimum.

Installation

The code has been tested on Python 3.10 and Windows 11. pip is required

Clone repository:

git clone https://github.com/EfrainAndres/houm-challenge.git

Install dependencies:

pip install -r requirements.txt

Performing tests

python main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages