Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Hiyori-API/checker_kitsu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Checker Kitsu

A "Checker" is a microservice for the Hiyori DB API.

Work in progress.

Prerequisites

  • PHP 7.2+
  • MongoDB (or just the connection string)
  • PHP JSON extension ext-json
  • Composer - PHP Package manager

Dependencies

  • mongodb/mongodb: ^1.5
  • guzzlehttp/guzzle: ^6.5
  • symfony/dotenv: ^5.0
  • monolog/monolog: ^2.0

Installation

  1. git clone https://github.com/Hiyori-API/checker_kitsu.git
  2. composer install
  3. cp .env.dist .env
  4. Set MongoDB connection string and configuration in .env

Example Code

require_once __DIR__.'/vendor/autoload.php';

$checker = new \CheckerKitsu\Kitsu();
$checker->start();

Features

  1. Rate Limit detector
  2. Some configuration

Todo

  1. Better configuration
  2. Complete CLI-fication

Metadata Model

  1. Kitsu ID
  2. Title English
  3. Title Romaji
  4. Title Native
  5. Title Canonical
  6. Abbreviated Titles
  7. Episodes Count
  8. Start Date (YY/MM/DD)
  9. End Date (YY/MM/DD)
  10. Type (e.g "TV", "OVA", "Movie", etc)
  11. External Links a. ID b. Site Title

Note

The meta data that is collected is required to generate a confidence score between multiple platforms for the same resource. This is required to generate a universal resource ID only and the final database will be excluding most of the data that has been parsed. All data that is collected is in public domain.

About

Fetches anime metadata from anilist

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages