{"id":20095319,"url":"https://github.com/rlalpha49/anilinkpy","last_synced_at":"2025-05-06T05:31:10.510Z","repository":{"id":238958419,"uuid":"798098604","full_name":"RLAlpha49/AniLinkPy","owner":"RLAlpha49","description":"API wrapper for AniManga sites such as Anilist, MyAnimeList, Kitsu.","archived":true,"fork":false,"pushed_at":"2024-10-11T06:29:27.000Z","size":2331,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-02T16:24:00.145Z","etag":null,"topics":["anilist","anilist-api","anilist-api-wrapper","kitsu","kitsu-api","kitsu-api-wrapper","myanimelist","myanimelist-api","myanimelist-api-wrapper","pypi","pypi-package","python"],"latest_commit_sha":null,"homepage":"https://rlalpha49.github.io/AniLinkPy/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RLAlpha49.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-09T05:03:10.000Z","updated_at":"2024-10-11T06:29:49.000Z","dependencies_parsed_at":"2024-06-29T08:25:02.051Z","dependency_job_id":"df85b299-025a-4f68-955c-d30a40be2ddf","html_url":"https://github.com/RLAlpha49/AniLinkPy","commit_stats":null,"previous_names":["rlalpha49/anilinkpy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RLAlpha49%2FAniLinkPy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RLAlpha49%2FAniLinkPy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RLAlpha49%2FAniLinkPy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RLAlpha49%2FAniLinkPy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RLAlpha49","download_url":"https://codeload.github.com/RLAlpha49/AniLinkPy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252628825,"owners_count":21779088,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anilist","anilist-api","anilist-api-wrapper","kitsu","kitsu-api","kitsu-api-wrapper","myanimelist","myanimelist-api","myanimelist-api-wrapper","pypi","pypi-package","python"],"created_at":"2024-11-13T16:54:50.969Z","updated_at":"2025-05-06T05:31:09.941Z","avatar_url":"https://github.com/RLAlpha49.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# AniLinkPy Documentation\n\nAniLinkPy is a Python library that provides an interface to interact with anime/manga APIs like AniList, MyAnimeList, and Kitsu. The library is structured as follows:\n\n## Main Components\n\n- `AniLink`: The main class that initializes connections to different APIs\n- `AniList`: Class for interacting with the AniList API\n  - `Query`: Methods for querying data\n  - `Mutation`: Methods for mutating data\n  - `CustomRequest`: For sending custom queries/mutations\n\n## Key Features\n\n- Query methods for retrieving data on users, media, characters, etc.\n- Mutation methods for updating data \n- Page query methods for paginated results\n- Custom query/mutation support\n- Error handling for API errors\n\n## Usage\n\nBasic usage:\n\n```python\nfrom AniLinkPy import AniLink\n\nanilink = AniLink(auth_token)\n\n# Query a user\nuser = anilink.anilist.query.user({'id': 123})\n\n# Custom query\ncustom_query = \"\"\"\n  query {\n    Viewer {\n      id\n    }\n  }\n\"\"\"\nresult = anilink.anilist.custom(custom_query)\n```\n\nThe library handles authentication, request sending, and response parsing. It provides a clean interface to interact with anime/manga APIs without having to deal with the low-level details.\n\n## Installation\n\nAniLinkPy can be installed via pip:\n\n```\npip install AniLinkPy\n```\n\n## Error Handling\n\nThe library throws exceptions for API errors which can be caught and handled:\n\n```python \ntry:\n  user = anilink.anilist.query.user({'id': 123})\nexcept Exception as error:\n  print(error)\n```\n\nOverall, AniLinkPy aims to simplify interaction with anime/manga APIs by providing an intuitive Python interface.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frlalpha49%2Fanilinkpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frlalpha49%2Fanilinkpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frlalpha49%2Fanilinkpy/lists"}