Skip to main content

PokePoke

The PokeAPI is a RESTful API that serves as a comprehensive database for Pokémon-related data. It offers a wide range of information about Pokémon species, their abilities, moves, types, evolutions, and more. By providing endpoints for various queries, such as retrieving details about specific Pokémon or abilities, the PokeAPI allows developers to access and utilize Pokémon-related data in their applications. It serves as a valuable resource for enthusiasts, developers, and researchers interested in integrating Pokémon-related information into their projects.

API

Python Basic API wrapper

  https://pokeapi.co/

Installation

Use the package manager pip to install foobar.

pip install pokepoke

Usage

from pokemon import pokeball

def main():
    poke_api = pokeball()

    # Meminta pengguna untuk memasukkan nama Pokémon
    pokemon_name = input("Masukkan nama Pokémon: ")
    pokemon_info = poke_api.get_pokemon_info(pokemon_name)
    if pokemon_info:
        print(f"Info untuk {pokemon_name.capitalize()}:")
        print(f"Berat: {pokemon_info['weight']}")
        print(f"Kemampuan: {', '.join([ability['ability']['name'] for ability in pokemon_info['abilities']])}")
    else:
        print("Pokémon tidak ditemukan.")

if __name__ == "__main__":
    main()

Release files for PokePoke 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PokePoke 0.0.1
File Size Uploaded
PokePoke-0.0.1.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PokePoke 0.0.1
File Interpreter ABI Platform
PokePoke-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.3 kB

Release files / PokePoke-0.0.1.tar.gz

Download URL PokePoke-0.0.1.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0662780566678467a4c5e2e9c75410d39bc90e8b2abf36b724894cc0dd990a36
BLAKE2b-256 checksum
How to use checksums
0ffc659fe7b4eeeb622456c35933444aa890b3145f55bd28625220dcb100ed55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

Release files / PokePoke-0.0.1-py3-none-any.whl

Download URL PokePoke-0.0.1-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
784688aa4adefe03c8474c8234839fafb69fc1d7d4c2093e7f2f910e63521e2b
BLAKE2b-256 checksum
How to use checksums
f0870f7f52cb0230f2789dab06e8e71d0b26e4b548a93b8fa21d0399e25d7f18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page