Short info about some anime.
Project description
Anime Search
This Python program features a modular anime library leveraging the Jikan API. The animeLibrary
class retrieves anime details such as title, score, episode count, and synopsis based on user input.
API
https://api.jikan.moe/v4/anime
Installation
pip install animesearchinfo
Usage/Examples
from anime_library import animeLibrary
def main():
jikan = animeLibrary()
print(" ")
query = input("Search an anime: ")
print(" ")
hasil_pencarian = jikan.cek_anime(query)
if isinstance(hasil_pencarian, dict):
for anime in hasil_pencarian.get('data', []):
print(f"Title: {anime.get('title')}")
print(f"Episodes: {anime.get('episodes')}")
print(f"Score: {anime.get('scores')}")
print(f"Synopsis: {anime.get('synopsis')}")
if __name__ == "__main__":
main()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
animesearchinfo-0.0.1.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file animesearchinfo-0.0.1.tar.gz
.
File metadata
- Download URL: animesearchinfo-0.0.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 378bc6714328b0cb17e20776e160a2d0494ca3153bc122e79370ccea33df25a3 |
|
MD5 | 5ee321608ff8e4b4c4f78da122a71105 |
|
BLAKE2b-256 | 4a629773a7d1084ceddf391fd5b3a895efcff3ca3273065767f16e4dd40eba34 |
File details
Details for the file animesearchinfo-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: animesearchinfo-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b47192ee3b96bedcbd1fcff704268d21bc7d552393efd6fc8b4e0f59f5ebf80b |
|
MD5 | 3d41036fa00d1daaf421c3036959c1b0 |
|
BLAKE2b-256 | 035b439d1bb86a71b3d68d83947caf6138cc44872cd5c644124d20a418b6138e |