2017 © Pedro PelĂĄez
 

library anime-news-network-data-api

A PHP client library for Anime News Network data

image

sprak3000/anime-news-network-data-api

A PHP client library for Anime News Network data

  • Friday, October 6, 2017
  • by sprak3000
  • Repository
  • 1 Watchers
  • 3 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Anime News Network Data Client

Tests Maintainability Test Coverage, (*1)

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., (*2)

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

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., (*4)

Requires

  • PHP ^8.0
  • 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., (*5)

Known Limitations / Issues

None at this time., (*6)

Installing via Composer

composer require sprak3000/AnimeNewsNetworkDataAPI

Continuous Integration

This project uses GitHubActions for build and continuous integration., (*7)

Documentation

All documentation can be found in the doc folder., (*8)

Contributing

The Versions

06/10 2017

dev-master

9999999-dev

A PHP client library for Anime News Network data

  Sources   Download

The Requires

 

The Development Requires

06/10 2017

1.0.0

1.0.0.0

A PHP client library for Anime News Network data

  Sources   Download

The Requires

 

The Development Requires

02/01 2015

0.4.1

0.4.1.0

A PHP client library for Anime News Network data

  Sources   Download

The Requires

 

The Development Requires

02/01 2015

0.4.0

0.4.0.0

A PHP client library for Anime News Network data

  Sources   Download

The Requires

 

The Development Requires

10/11 2014

0.3.0

0.3.0.0

A PHP client library for Anime News Network data

  Sources   Download

The Requires

 

The Development Requires

10/11 2014

0.2.0

0.2.0.0

A PHP client library for Anime News Network data

  Sources   Download

The Requires

 

The Development Requires

16/10 2014

0.1.0

0.1.0.0

A PHP client library for Anime News Network data

  Sources   Download

The Requires

 

The Development Requires