定制 uberchel/shikimori-api 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

uberchel/shikimori-api

最新稳定版本:v1.0.0

Composer 安装命令:

composer require uberchel/shikimori-api

包简介

Shikimori API, searching and getting information by ID or name

README 文档

README

Shikimori API, searching and getting information by ID or name
Version: 1.0.0

Requirements

  • PHP >= 7.2
  • PHP extensions: cUrl

Installation

No complicated installation, just transfer or copy the class file to your projector and install it using compose

composer require uberchel/shikimori-api

Using

<?php

use uberchel\ShikimoriAPI;

// use composer
require __DIR__ . '/vendor/autoload.php';

// not use composer
require './ShikimoriApi.php';

/* Get the poster. If the size is not specified in the request, the API returns an array with all sizes.
 --sizes [ss, sm, md, lg] - Optional parameters.
 --id - Anime ID
*/
var_dump($shiki->call('getPoster', [
        'size' => 'md', 
        'id' => 58426
    ])
);

/* Search for anime by name
 --list of ratings ['g', 'pg', 'pg_13', 'r', 'r_plus', 'rx']
 --page, limit and rating Optional parameters.
*/
var_dump($shiki->call('searchAnime', [
        'q' => 'Manga Nippon Mukashibanashi',
        'page' => 1,
        'limit' => 3,
        'rating' => 'r'
    ])
);

/* Get all the data about anime
 --id - Anime ID
*/
var_dump($shiki->call('getAnime', [
        'id' => 58426
    ])
);

clone the repository and install the requirements

git clone https://github.com/uberchel/shikimori-api

LICENSE

The MIT License

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-07-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固