jikan4


Namejikan4 JSON
Version 0.2.1 PyPI version JSON
download
home_pagehttps://github.com/mdabessa/jikan4
SummaryA Python wrapper for the Jikan API
upload_time2023-01-08 02:36:21
maintainer
docs_urlNone
authorMatheus Bessa
requires_python>=3.10
license
keywords jikan jikan4 jikan-api jikan4-api jikan-wrapper jikan4-wrapper jikan4-python jikan-python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # jikan4
 A Python wrapper for the [Jikan API V4](https://docs.api.jikan.moe)


## Installation
```bash
pip install jikan4
```

## Usage

### Basic Usage
```python
from jikan4.jikan import Jikan

jikan = Jikan()

anime = jikan.get_anime(1)
search = jikan.search_anime("tv", "naruto")
```

### Async Usage
```python
import asyncio
from jikan4.aiojikan import AioJikan


async def main():
    jikan = AioJikan()

    anime = await jikan.get_anime(1)
    search = await jikan.search_anime('tv', 'naruto')

    jikan.close()


if __name__ == '__main__':
    asyncio.run(main())
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/mdabessa/jikan4",
    "name": "jikan4",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "jikan,jikan4,jikan-api,jikan4-api,jikan-wrapper,jikan4-wrapper,jikan4-python,jikan-python",
    "author": "Matheus Bessa",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/be/7e/95a92d9e31ff756601ba9c7d7d5dabcda7c24b2d4ceb812e28978e3a8680/jikan4-0.2.1.tar.gz",
    "platform": null,
    "description": "# jikan4\r\n A Python wrapper for the [Jikan API V4](https://docs.api.jikan.moe)\r\n\r\n\r\n## Installation\r\n```bash\r\npip install jikan4\r\n```\r\n\r\n## Usage\r\n\r\n### Basic Usage\r\n```python\r\nfrom jikan4.jikan import Jikan\r\n\r\njikan = Jikan()\r\n\r\nanime = jikan.get_anime(1)\r\nsearch = jikan.search_anime(\"tv\", \"naruto\")\r\n```\r\n\r\n### Async Usage\r\n```python\r\nimport asyncio\r\nfrom jikan4.aiojikan import AioJikan\r\n\r\n\r\nasync def main():\r\n    jikan = AioJikan()\r\n\r\n    anime = await jikan.get_anime(1)\r\n    search = await jikan.search_anime('tv', 'naruto')\r\n\r\n    jikan.close()\r\n\r\n\r\nif __name__ == '__main__':\r\n    asyncio.run(main())\r\n```\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A Python wrapper for the Jikan API",
    "version": "0.2.1",
    "split_keywords": [
        "jikan",
        "jikan4",
        "jikan-api",
        "jikan4-api",
        "jikan-wrapper",
        "jikan4-wrapper",
        "jikan4-python",
        "jikan-python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1ac34143b7e45167595e17639480b8fec54a164d6015508c69c88e65dad8c8fa",
                "md5": "0dcd209eb1c83040bcc01d37ad1083ba",
                "sha256": "c77aa6987eda825467c3f0349ff555e214a0e06793b64ce48561d610f7f5dd98"
            },
            "downloads": -1,
            "filename": "jikan4-0.2.1-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0dcd209eb1c83040bcc01d37ad1083ba",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.10",
            "size": 10670,
            "upload_time": "2023-01-08T02:36:19",
            "upload_time_iso_8601": "2023-01-08T02:36:19.997355Z",
            "url": "https://files.pythonhosted.org/packages/1a/c3/4143b7e45167595e17639480b8fec54a164d6015508c69c88e65dad8c8fa/jikan4-0.2.1-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "be7e95a92d9e31ff756601ba9c7d7d5dabcda7c24b2d4ceb812e28978e3a8680",
                "md5": "00688bfc12fe9d54ac811fc62b13158c",
                "sha256": "c995d9124faf3b43fb3043dfd6076167165bc7dc167f3827dbe27b186a99e866"
            },
            "downloads": -1,
            "filename": "jikan4-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "00688bfc12fe9d54ac811fc62b13158c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 7234,
            "upload_time": "2023-01-08T02:36:21",
            "upload_time_iso_8601": "2023-01-08T02:36:21.505703Z",
            "url": "https://files.pythonhosted.org/packages/be/7e/95a92d9e31ff756601ba9c7d7d5dabcda7c24b2d4ceb812e28978e3a8680/jikan4-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-08 02:36:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "mdabessa",
    "github_project": "jikan4",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "jikan4"
}
        
Elapsed time: 0.02869s