0.1.2 • Published 2 years ago

pyload v0.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Unofficial pyload API SDK for Nodejs

Install

If you just want to use pyload, you should use this command:

npm install pyload # OR yarn add pyload

Example Usage

const Pyload = require("pyload");

const py = new Pyload('https://py.f97.xyz')

await py.login({
  username: 'admin',
  password: 'password'
})

const types = await py.getAccountTypes()

Documentation

  • constructor
  • addFiles(pid, links)
  • addPackage
  • call(info)
  • changePassword(user, oldpw, newpw)
  • checkAndAddPackages(links, dest)
  • checkAuth(username, password, remoteip)
  • checkOnlineStatus
  • checkOnlineStatusContainer(urls, container, data)
  • checkURLs
  • deleteFiles(fids)
  • deleteFinished()
  • deletePackages(pids)
  • freeSpace
  • generateAndAddPackages
  • generatePackages(links)
  • getAccountTypes
  • getAccounts(refresh)
  • getAllInfo
  • getAllUserData
  • getCaptchaTask(exclusive)
  • getCaptchaTaskStatus(tid)
  • getCollector
  • getCollectorData
  • getConfig()
  • getConfigDict()
  • getConfigValue(category, option, section)
  • getEvents(uuid)
  • getFileData(fid)
  • getFileOrder(pid)
  • getInfoByPlugin
  • getLog(offset)
  • getPackageData(pid)
  • getPackageInfo(pid)
  • getPackageOrder(destination)
  • getPluginConfig()
  • getPluginConfigDict()
  • getQueue()
  • getQueueData()
  • getServerVersion()
  • getServices()
  • getUserData
  • hasService(plugin, func)
  • isAuthorized(func, userdata)
  • isCaptchaWaiting()
  • isTimeDownload()
  • isTimeReconnect()
  • kill()
  • login
  • moveFiles(fids, pid)
  • movePackage(destination, pid)
  • orderFile(fid, position)
  • orderPackage(pid, position)
  • parseURLs
  • pauseServer()
  • pollResults(rid)
  • pullFromQueue(pid)
  • pushToQueue(pid)
  • recheckPackage(pid)
  • removeAccount(plugin, account)
  • restart()
  • restartFailed()
  • restartFile(fid)
  • restartPackage(pid)
  • setCaptchaResult(tid, result)
  • setConfigValue(category, option, value, ...)
  • setPackageData(pid, data)
  • setPackageName(pid, name)
  • setUserPermission(user, permission, role)
  • statusDownloads
  • statusServer()
  • stopAllDownloads()
  • stopDownloads(fids)
  • togglePause()
  • toggleReconnect()
  • unpauseServer()
  • updateAccount(plugin, account, password, ...)
  • uploadContainer(filename, data)
0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.9

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago