【文件属性】:
文件名称:MaiList:一个非官方的 Anilist 包装器
文件大小:44KB
文件格式:ZIP
更新时间:2021-05-31 01:36:51
anime anilist wrapper-api anilist-api TypeScript
迈利斯特
一个非官方的 API 包装器和强类型
还没有
安装
# npm
npm install mailist
# yarn
yarn add mailist
示例用法
日本动画片
方法
动漫(查询:字符串)
Mal (id: 字符串)
配音演员(查询:字符串)
const { Anime } = require ( "mailist" ) ;
const get = new Anime ( ) ;
function getAnime ( ) {
get . anime ( "Majo No Tabi-Tabi" )
. then ( res => {
console . log ( res )
} ) ;
}
getAnime ( )
从动漫标题中获取配音演员
function voiceActors ( )
【文件预览】:
MaiList-master
----package.json(739B)
----.eslintrc.json(792B)
----test()
--------index.js(1KB)
----LICENSE(1KB)
----dist()
--------index.js(915B)
--------getCharacter.d.ts(144B)
--------structures()
--------getAnime.d.ts(243B)
--------getAnime.js(4KB)
--------getCharacter.js(2KB)
--------index.d.ts(140B)
--------typings()
--------getManga.js(2KB)
--------util()
--------getManga.d.ts(176B)
----src()
--------getAnime.ts(2KB)
--------structures()
--------getCharacter.ts(642B)
--------typings()
--------getManga.ts(763B)
--------util()
--------index.ts(139B)
----tsconfig.json(436B)
----.gitignore(28B)
----README.md(2KB)
----yarn.lock(55KB)
----.eslintignore(4B)