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://restcountries.com/v3.1
Installation
Use the package manager pip to install foobar.
pip install countries_info
Usage
from countries import restcountries
def get_user_input():
country_code = input("Masukkan kode negara (contoh: usa): ")
return country_code
def main():
rest_countries_api = restcountries()
# Mendapatkan input dari pengguna
country_code = get_user_input()
# Memanggil fungsi untuk mendapatkan informasi negara berdasarkan kode negara
country_info = rest_countries_api.get_country_info(country_code)
if "error" in country_info:
print(country_info["error"])
else:
print(f"Informasi Negara untuk {country_code.upper()}:")
print(country_info)
if __name__ == "__main__":
main()
Metadata
Release files for countries-info 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| countries_info-0.0.1.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| countries_info-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.3 kB
Release files / countries_info-0.0.1.tar.gz
| Download URL | countries_info-0.0.1.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f7619bc2ed56dfae99c284588f511545ba9f4744a84fd891460e61fcbffec1e
|
|
BLAKE2b-256 checksum How to use checksums |
9d4a9cc7ceec87ef9089565a72aaf1fa8739c9d87af913de8e42a23413c292e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.2
|
Release files / countries_info-0.0.1-py3-none-any.whl
| Download URL | countries_info-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
544d8d90e69f71da7bc1ea73218aa9ce69a665d5032f0a051fbfc0944bd55fc1
|
|
BLAKE2b-256 checksum How to use checksums |
21e093ffafd903974481b3c68f9487536617d0d4f0f32e0444f842bd95446e01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.2
|