sprak3000/anime-news-network-data-api 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sprak3000/anime-news-network-data-api

Composer 安装命令:

composer require sprak3000/anime-news-network-data-api

包简介

A PHP client library for Anime News Network data

README 文档

README

Tests Maintainability Code Coverage

This is a PHP client wrapper for the Anime News Network data API. If you are interested in contributing back to this project, feel free to read the Contributing documentation below.

NOTE: When using this client to retrieve data, you must still abide by the ANN API terms of service:

When using this API to display information on a public website, you must list Anime News Network as the source of the data and link to Anime News Network on every page that incorporates data from the API.

Requirements

  • PHP ^8.3
  • Composer (to install this library)

Usage

<?php
$client = new sprak3000\AnimeNewsNetworkDataAPI\Client();
$anime = $client->getAnime(['anime' => '16148'])->toArray();
$manga = $client->getManga(['manga' => '4199'])->toArray();

Detecting API Errors

Unfortunately, the ANN API does not return a non 200 HTTP response code for an invalid / not found ID. To check for an error, look for a warning key in the result array.

Known Limitations / Issues

None at this time.

Installing via Composer

composer require sprak3000/AnimeNewsNetworkDataAPI

Continuous Integration

This project uses GitHubActions for build and continuous integration.

Documentation

All documentation can be found in the doc folder.

Contributing

统计信息

  • 总下载量: 29
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2014-10-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固