# 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/animesearchinfo",
"name": "animesearchinfo",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "animesearch,anime,anime search info,animesearchinfo",
"author": "shaaa",
"author_email": "<ayeshacha177@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/4a/62/9773a7d1084ceddf391fd5b3a895efcff3ca3273065767f16e4dd40eba34/animesearchinfo-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": "Short info about some anime.",
"version": "0.0.1",
"project_urls": {
"Homepage": "https://github.com/shaaa-xq/animesearchinfo"
},
"split_keywords": [
"animesearch",
"anime",
"anime search info",
"animesearchinfo"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "035b439d1bb86a71b3d68d83947caf6138cc44872cd5c644124d20a418b6138e",
"md5": "3d41036fa00d1daaf421c3036959c1b0",
"sha256": "b47192ee3b96bedcbd1fcff704268d21bc7d552393efd6fc8b4e0f59f5ebf80b"
},
"downloads": -1,
"filename": "animesearchinfo-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3d41036fa00d1daaf421c3036959c1b0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3104,
"upload_time": "2023-11-24T01:03:42",
"upload_time_iso_8601": "2023-11-24T01:03:42.717594Z",
"url": "https://files.pythonhosted.org/packages/03/5b/439d1bb86a71b3d68d83947caf6138cc44872cd5c644124d20a418b6138e/animesearchinfo-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4a629773a7d1084ceddf391fd5b3a895efcff3ca3273065767f16e4dd40eba34",
"md5": "5ee321608ff8e4b4c4f78da122a71105",
"sha256": "378bc6714328b0cb17e20776e160a2d0494ca3153bc122e79370ccea33df25a3"
},
"downloads": -1,
"filename": "animesearchinfo-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "5ee321608ff8e4b4c4f78da122a71105",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2827,
"upload_time": "2023-11-24T01:03:45",
"upload_time_iso_8601": "2023-11-24T01:03:45.025255Z",
"url": "https://files.pythonhosted.org/packages/4a/62/9773a7d1084ceddf391fd5b3a895efcff3ca3273065767f16e4dd40eba34/animesearchinfo-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-24 01:03:45",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "shaaa-xq",
"github_project": "animesearchinfo",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "animesearchinfo"
}