This is a simple GUI-based Pokedex application built using Python and Tkinter. It allows users to search for Pokemon by name, retrieve their details using the PokeAPI, display their images, play their cries, and even open a YouTube search for related videos.
- Search Pokemon: Enter a Pokemon's name and retrieve details instantly.
- Detailed Information: Get height, weight, types, abilities, and base experience.
- Image Display: Fetch and display official artwork from PokeAPI.
- Sound Playback: Play the Pokemon's cry sound using pygame.
- YouTube Search: Open a browser window with related Pokemon videos.
- Error Handling: Displays appropriate messages when an invalid search is performed.
Ensure you have Python installed on your system. You can download it from python.org.
To get started, clone the repository using the following command:
git clone https://github.com/upangshu1234/Pokedex-with-python.git
cd Pokedex-with-pythonTo install the required dependencies, run the following command:
pip install -r requirements.txtAlternatively, you can install them manually:
pip install requests pillow pygameRun the script using the following command:
python pokedex.py- Open the application.
- Enter the name of the Pokemon you want to search for.
- Press
Enteror click theSearchbutton. - View the Pokemon's details, including its image and sound.
- Click on
Watch Videoto explore related content on YouTube.
tkinter- for GUI development.requests- to fetch data from PokeAPI.Pillow(PIL) - for image processing.pygame- for playing Pokemon cries.webbrowser- to open YouTube search results.threading- to prevent UI freezing during API requests.
PokeAPI is used to fetch real-time Pokemon data.
This project is open-source and available under the MIT License.
Upangshu Basak
Feel free to contribute to this project by submitting pull requests!


