定制 jikan/jikan-php 二次开发

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

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

jikan/jikan-php

最新稳定版本:5.0.0

Composer 安装命令:

composer require jikan/jikan-php

包简介

PHP client for jikan rest

README 文档

README

Latest Stable Version Total Downloads License

jikan-jikanPHP

Jikan rest api PHP client, PHP Client for the unofficial myanimelist api, generated using janePHP.

Install it with composer:

composer require jikan/jikan-php

Getting Started

Require your client implementation

For example

 composer require php-http/guzzle7-adapter

For more clients & adapters check https://docs.php-http.org/en/latest/clients.html

Instantiate the client

$jikan = Client::create();

Use it to request MAL data

Check the client for the correct type hint

/** @var AnimeIdGetResponse200 $response */
$response = $jikan->getAnimeById(5114);
$anime = $response->getData();

If you experience any issues, open an issue, or even better a Pull Request!

Contribute

Has jikan been updated? You can update the client by using this command:

composer update-jikan

Then make a PR to merge it into the master branch.

统计信息

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

GitHub 信息

  • Stars: 29
  • Watchers: 4
  • Forks: 12
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-02-03