-
nodejs版pyload-api包装器:pyload-js
资源介绍
pyload-js
pyload API的nodejs包装器
安装
npm install pyload-js
api
addPackage()
statusDownloads
用法
const PyloadJs = require ( 'pyload-js' ) ;
const pyload = await PyloadJs . create ( 'https://my-pyload.srv' , {
username : 'admin' ,
password : '12345678' ,
} ) ;
const packageId = await pyload . addPackage ( {
name : 'first-package' ,
links : [ 'http://some-link.com/1.rar' , 'http://some-link.