Skip to content

This is a python pokedex made using the pokeapi. This is a weekly challenge by Sloth Bytes.

Notifications You must be signed in to change notification settings

Lasse-van-Iterson/Python-Pokedex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Python Pokedex

Introduction

Python Pokedex is a simple command-line application that allows users to search for information about Pokémon using the PokeAPI. Users can enter the name or ID of a Pokémon, and the program retrieves and displays various details about the Pokémon, such as its name, ID, height, weight, and types. Additionally, users hear Pokémon's sound. This is made as part of the weekly challenge by Sloth Bytes.

Features

  • Search for Pokémon by name or ID.
  • Display detailed information about the Pokémon, including its name, ID, height, weight, and types.
  • Listen to the sound of the Pokémon.

Dependencies

Python Pokedex requires the following dependencies:

  • requests: To make HTTP requests for downloading sound files and fetching data from the PokeAPI.
  • pydub: To play and manipulate sound files.
  • Pillow: To process and convert images to suitable formats.
  • ffmpeg: A multimedia framework used by pydub for playing sound files.

Ensure that you have the appropriate versions of these dependencies installed for your Python version and operating system.

Installation

  1. Clone this repository to your local machine:

  2. Navigate to the project directory:

  3. Install the required dependencies:

  4. Install ffmpeg if not already installed on your system. You can download it from the official website or install it via your operating system's package manager.

Usage

To use Python Pokedex, run the main.py script: Follow the on-screen instructions to search for Pokémon and listen to their cry sounds.

About

This is a python pokedex made using the pokeapi. This is a weekly challenge by Sloth Bytes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages