ani-sched


Nameani-sched JSON
Version 0.1.3 PyPI version JSON
download
home_pagehttps://github.com/lkaijie/ani-sched-api
SummaryA local MAL API for anime schedules and news (using livechart.me)
upload_time2023-08-18 15:29:50
maintainer
docs_urlNone
authorlkaijie
requires_python>=3.10
licenseMIT
keywords api myanimelist anime schedule news livechart
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!-- 
<div>
![Tests](https://github.com/lkaijie/ani-sched-api/workflows/PyTests/badge.svg "CI build status: Check JSON files")
[![Downloads](https://pepy.tech/badge/ani-sched/month)](https://pepy.tech/project/ani-sched)
</div> -->
<div align="center" style="margin-bottom:20px">
    <span style="margin-right:10px">
        <img src="https://github.com/lkaijie/ani-sched-api/workflows/PyTests/badge.svg" alt="Tests">
    </span>
    <span style="margin-left:10px">
        <a href="https://pepy.tech/badge/ani-sched">
            <img src="https://static.pepy.tech/badge/ani-sched/month" alt="Downloads">
        </a>
    </span>


</div>

# Python Anime Schedule API
[![Version](https://img.shields.io/pypi/v/ani-sched.svg?color=informational)](https://pypi.org/project/ani-sched/)

A lightweight API for gathering anime schedules from [MyAnimeList](https://myanimelist.net) or anime news and announcements from [LiveChart](https://livechart.me).


## Installation and Usage

To install the library:

```
pip install -U ani-sched
```

To import the library:

```python
from ani_sched import *
```

## Example

To call the API, you need to create an object.
    
```python
from ani_sched import AniSched

api = AniSched()

fall_2022 = api.season(year=2022, season='fall') # gets the animes of Fall 2022

print(fall["TV (New)"][7]["title"]) # prints the title of the 8th most popular TV anime of Fall 2022

# output: "Bocchi the Rock!"

```
####

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/lkaijie/ani-sched-api",
    "name": "ani-sched",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "api,myanimelist,anime,schedule,news,livechart",
    "author": "lkaijie",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/01/df/19be92e3500acc4a9c8faa503ef8a8aef51442dc2b4e09e26be8ef6ac092/ani-sched-0.1.3.tar.gz",
    "platform": null,
    "description": "<!-- \r\n<div>\r\n![Tests](https://github.com/lkaijie/ani-sched-api/workflows/PyTests/badge.svg \"CI build status: Check JSON files\")\r\n[![Downloads](https://pepy.tech/badge/ani-sched/month)](https://pepy.tech/project/ani-sched)\r\n</div> -->\r\n<div align=\"center\" style=\"margin-bottom:20px\">\r\n    <span style=\"margin-right:10px\">\r\n        <img src=\"https://github.com/lkaijie/ani-sched-api/workflows/PyTests/badge.svg\" alt=\"Tests\">\r\n    </span>\r\n    <span style=\"margin-left:10px\">\r\n        <a href=\"https://pepy.tech/badge/ani-sched\">\r\n            <img src=\"https://static.pepy.tech/badge/ani-sched/month\" alt=\"Downloads\">\r\n        </a>\r\n    </span>\r\n\r\n\r\n</div>\r\n\r\n# Python Anime Schedule API\r\n[![Version](https://img.shields.io/pypi/v/ani-sched.svg?color=informational)](https://pypi.org/project/ani-sched/)\r\n\r\nA lightweight API for gathering anime schedules from [MyAnimeList](https://myanimelist.net) or anime news and announcements from [LiveChart](https://livechart.me).\r\n\r\n\r\n## Installation and Usage\r\n\r\nTo install the library:\r\n\r\n```\r\npip install -U ani-sched\r\n```\r\n\r\nTo import the library:\r\n\r\n```python\r\nfrom ani_sched import *\r\n```\r\n\r\n## Example\r\n\r\nTo call the API, you need to create an object.\r\n    \r\n```python\r\nfrom ani_sched import AniSched\r\n\r\napi = AniSched()\r\n\r\nfall_2022 = api.season(year=2022, season='fall') # gets the animes of Fall 2022\r\n\r\nprint(fall[\"TV (New)\"][7][\"title\"]) # prints the title of the 8th most popular TV anime of Fall 2022\r\n\r\n# output: \"Bocchi the Rock!\"\r\n\r\n```\r\n####\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A local MAL API for anime schedules and news (using livechart.me)",
    "version": "0.1.3",
    "project_urls": {
        "Homepage": "https://github.com/lkaijie/ani-sched-api"
    },
    "split_keywords": [
        "api",
        "myanimelist",
        "anime",
        "schedule",
        "news",
        "livechart"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "440d5b4ab2de2804b3b9d288d9b3509c448fe99f7289e226d915596c5696d777",
                "md5": "7048c25be549e54ee22b20db298a6364",
                "sha256": "a524383b69b8dd8ae79ce259cb7fae82adc746966692bca6ae95233773b2e4f8"
            },
            "downloads": -1,
            "filename": "ani_sched-0.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7048c25be549e54ee22b20db298a6364",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 6693,
            "upload_time": "2023-08-18T15:29:48",
            "upload_time_iso_8601": "2023-08-18T15:29:48.943037Z",
            "url": "https://files.pythonhosted.org/packages/44/0d/5b4ab2de2804b3b9d288d9b3509c448fe99f7289e226d915596c5696d777/ani_sched-0.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "01df19be92e3500acc4a9c8faa503ef8a8aef51442dc2b4e09e26be8ef6ac092",
                "md5": "007dfe4e1f5df1dcf51e1d5c1bca0a83",
                "sha256": "6b5a86d6143e0919dd9ac83d5ec60257156022b725aee79e8dec5cde6a8f4192"
            },
            "downloads": -1,
            "filename": "ani-sched-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "007dfe4e1f5df1dcf51e1d5c1bca0a83",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 5830,
            "upload_time": "2023-08-18T15:29:50",
            "upload_time_iso_8601": "2023-08-18T15:29:50.444024Z",
            "url": "https://files.pythonhosted.org/packages/01/df/19be92e3500acc4a9c8faa503ef8a8aef51442dc2b4e09e26be8ef6ac092/ani-sched-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-18 15:29:50",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "lkaijie",
    "github_project": "ani-sched-api",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "ani-sched"
}
        
Elapsed time: 0.11118s