popcorn-api:用于访问PopcornTime API的库

时间:2021-05-01 22:46:32
【文件属性】:
文件名称:popcorn-api:用于访问PopcornTime API的库
文件大小:39KB
文件格式:ZIP
更新时间:2021-05-01 22:46:32
nodejs api time popcorn JavaScript 爆米花API 从Popcorn Time API获取数据的简便方法 可从获得文档。 安装 通过NPM: $ npm install popcorn-api 用法 Popcorn-API附带3条您可以使用的路线: anime , shows和movies 。 要访问路线,请将其用作PopCorn的属性: PopCorn .[route] 。 例子 const PopCorn = require ( 'popcorn-api' ) ; // * Search for Animes using query 'kill' PopCorn . animes . search ( { query : 'kill' } ) . then ( async ( [ anime ] ) => { await anime . fetch ( ) ; console .
【文件预览】:
popcorn-api-master
----.travis.yml(235B)
----.babelrc(245B)
----img()
--------logo.png(21KB)
--------favicon.ico(1KB)
----package.json(1KB)
----.github()
--------ISSUE_TEMPLATE()
----LICENSE(1KB)
----src()
--------core()
--------structures()
--------PopCorn.js(1KB)
----travis()
--------deploy.sh(708B)
----docs.js(3KB)
----examples()
--------examples.md(2KB)
----.gitignore(48B)
----typings()
--------index.d.ts(5KB)
----README.md(2KB)

网友评论