{"id":23465379,"url":"https://github.com/sprak3000/animenewsnetworkdataapi","last_synced_at":"2025-04-14T11:07:31.976Z","repository":{"id":21932715,"uuid":"25257109","full_name":"sprak3000/AnimeNewsNetworkDataAPI","owner":"sprak3000","description":"PHP client wrapper for the Anime News Network data API","archived":false,"fork":false,"pushed_at":"2023-07-28T01:41:35.000Z","size":165,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T11:07:26.739Z","etag":null,"topics":["anime-news-network","api-client","hacktoberfest","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/sprak3000.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-15T14:02:27.000Z","updated_at":"2023-08-25T06:37:32.000Z","dependencies_parsed_at":"2022-08-26T14:12:41.001Z","dependency_job_id":null,"html_url":"https://github.com/sprak3000/AnimeNewsNetworkDataAPI","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sprak3000%2FAnimeNewsNetworkDataAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sprak3000%2FAnimeNewsNetworkDataAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sprak3000%2FAnimeNewsNetworkDataAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sprak3000%2FAnimeNewsNetworkDataAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sprak3000","download_url":"https://codeload.github.com/sprak3000/AnimeNewsNetworkDataAPI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868768,"owners_count":21174758,"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":["anime-news-network","api-client","hacktoberfest","php"],"created_at":"2024-12-24T11:24:49.416Z","updated_at":"2025-04-14T11:07:31.956Z","avatar_url":"https://github.com/sprak3000.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Anime News Network Data Client\n[![Tests](https://github.com/sprak3000/AnimeNewsNetworkDataAPI/workflows/Tests/badge.svg)](https://github.com/sprak3000/AnimeNewsNetworkDataAPI/actions?query=workflow%3ATests)\n[![Maintainability](https://api.codeclimate.com/v1/badges/8f0ca6dec4db4f17da14/maintainability)](https://codeclimate.com/github/sprak3000/AnimeNewsNetworkDataAPI/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/8f0ca6dec4db4f17da14/test_coverage)](https://codeclimate.com/github/sprak3000/AnimeNewsNetworkDataAPI/test_coverage)\n\nThis is a PHP client wrapper for the [Anime News Network](http://www.animenewsnetwork.com/encyclopedia/api.php) data\nAPI. If you are interested in contributing back to this project, feel free to read the *Contributing* documentation\nbelow.\n\n**NOTE:** \nWhen using this client to retrieve data, you must still abide by the ANN API terms of service:\n\n\u003e When using this API to display information on a public website, you must list Anime News Network as the\nsource of the data and link to Anime News Network on every page that incorporates data from the API.\n\n## Requires\n* PHP ^8.0\n* [Composer](https://getcomposer.org/) (to install this library)\n\n## Usage\n```php\n\u003c?php\n$client = new sprak3000\\AnimeNewsNetworkDataAPI\\Client();\n$anime = $client-\u003egetAnime(['anime' =\u003e '16148'])-\u003etoArray();\n$manga = $client-\u003egetManga(['manga' =\u003e '4199'])-\u003etoArray();\n```\n\n### Detecting API Errors\nUnfortunately, the ANN API does not return a non 200 HTTP response code for an invalid / not found ID. To check for an\nerror, look for a `warning` key in the result array.\n\n### Known Limitations / Issues\nNone at this time.\n\n## Installing via Composer\n```\ncomposer require sprak3000/AnimeNewsNetworkDataAPI\n```\n\n## Continuous Integration\nThis project uses [GitHubActions](https://github.com/sprak3000/AnimeNewsNetworkDataAPI/actions) for build and continuous integration.\n\n## Documentation\nAll documentation can be found in the [doc](https://github.com/sprak3000/AnimeNewsNetworkDataAPI/blob/master/doc) folder.\n\n## Contributing\n* [Getting Started](https://github.com/sprak3000/AnimeNewsNetworkDataAPI/blob/master/doc/CONTRIBUTING.md)\n* [Bug Reports](https://github.com/sprak3000/AnimeNewsNetworkDataAPI/blob/master/doc/CONTRIBUTING.md#bug-reports)\n* [Feature Requests](https://github.com/sprak3000/AnimeNewsNetworkDataAPI/blob/master/doc/CONTRIBUTING.md#feature-requests)\n* [Pull Requests](https://github.com/sprak3000/AnimeNewsNetworkDataAPI/blob/master/doc/CONTRIBUTING.md#pull-requests)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsprak3000%2Fanimenewsnetworkdataapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsprak3000%2Fanimenewsnetworkdataapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsprak3000%2Fanimenewsnetworkdataapi/lists"}