Skip to content

A Python tool that connects to the PokéAPI to fetch and display stats for any Pokémon. Built with Requests and JSON. 🔍⚡

Notifications You must be signed in to change notification settings

hirahoussam/pokemon-api-finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Pokémon API Finder 🔍⚡

A Python script that connects to the PokéAPI to fetch and display data about any Pokémon. This project demonstrates how to use the requests library to handle API calls and JSON data.

🚀 How It Works

  1. The user enters a Pokémon name (e.g., "Pikachu").
  2. The script sends a GET request to the PokéAPI.
  3. If found, it displays the Pokémon's ID, Height, and Weight.
  4. If not found, it handles the error gracefully.

🛠️ Built With

  • Python 3
  • Requests Library (for HTTP calls)
  • PokéAPI (Public Data Source)

💻 How to Run

  1. Install the required library:
    pip install -r requirements.txt

About

A Python tool that connects to the PokéAPI to fetch and display stats for any Pokémon. Built with Requests and JSON. 🔍⚡

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages