# 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
```http
https://api.jikan.moe/v4/anime
```
## Installation
```bash
pip install animesearchinfo
```
## Usage/Examples
```javascript
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()
```
Raw data
{
"_id": null,
"home_page": "https://github.com/shaaa-xq/goldenratio04",
"name": "goldenratio04",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "UAs,COY",
"author": "shaaa-xq",
"author_email": "<ayeshacha177@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/e2/30/3670add502084c074785eea85c46d7127ab9b2fc927696f4da14fd810592/goldenratio04-0.0.1.tar.gz",
"platform": null,
"description": "\r\n# Anime Search\r\n\r\nThis 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. \r\n\r\n## API \r\n\r\n\r\n```http\r\n https://api.jikan.moe/v4/anime\r\n```\r\n\r\n\r\n\r\n\r\n\r\n## Installation\r\n\r\n\r\n```bash\r\n pip install animesearchinfo\r\n```\r\n \r\n## Usage/Examples\r\n\r\n```javascript\r\nfrom anime_library import animeLibrary\r\n\r\ndef main():\r\n jikan = animeLibrary()\r\n print(\" \")\r\n query = input(\"Search an anime: \")\r\n print(\" \")\r\n hasil_pencarian = jikan.cek_anime(query)\r\n\r\n if isinstance(hasil_pencarian, dict):\r\n for anime in hasil_pencarian.get('data', []):\r\n print(f\"Title: {anime.get('title')}\")\r\n print(f\"Episodes: {anime.get('episodes')}\")\r\n print(f\"Score: {anime.get('scores')}\")\r\n print(f\"Synopsis: {anime.get('synopsis')}\")\r\n \r\nif __name__ == \"__main__\":\r\n main()\r\n\r\n```\r\n\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Python library for calculate golden ratio.",
"version": "0.0.1",
"project_urls": {
"Homepage": "https://github.com/shaaa-xq/goldenratio04"
},
"split_keywords": [
"uas",
"coy"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ea14eec91730e8a43a03f30194f367fa86e3ca6d7a51e6a96d06d52b3beeb7a4",
"md5": "3ace50340e0892a49adc2e86b791ec19",
"sha256": "4c52e20baf1b47650b3f8804730e63701b655118b504ab69ec2d21a6f852c044"
},
"downloads": -1,
"filename": "goldenratio04-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3ace50340e0892a49adc2e86b791ec19",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 2984,
"upload_time": "2023-12-15T08:29:40",
"upload_time_iso_8601": "2023-12-15T08:29:40.954710Z",
"url": "https://files.pythonhosted.org/packages/ea/14/eec91730e8a43a03f30194f367fa86e3ca6d7a51e6a96d06d52b3beeb7a4/goldenratio04-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e2303670add502084c074785eea85c46d7127ab9b2fc927696f4da14fd810592",
"md5": "5e2f68d02ecfde89c33d9f4f3a916148",
"sha256": "a0420d2e71805be88c2cbe4845840122d9cfbb9cc497202d940dcee28940a215"
},
"downloads": -1,
"filename": "goldenratio04-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "5e2f68d02ecfde89c33d9f4f3a916148",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2786,
"upload_time": "2023-12-15T08:29:42",
"upload_time_iso_8601": "2023-12-15T08:29:42.322909Z",
"url": "https://files.pythonhosted.org/packages/e2/30/3670add502084c074785eea85c46d7127ab9b2fc927696f4da14fd810592/goldenratio04-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-15 08:29:42",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "shaaa-xq",
"github_project": "goldenratio04",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "goldenratio04"
}