
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
qbittorrent-api-v2
Advanced tools
Wrapper around qBittorrent's Web API v2 to manage your torrents from Node. Documented and everything.
Wrapper around qBittorrent's Web API v2 to manage your torrents from Node. Documented and everything.
The Web API v2 applies for version 4.1+ of qBittorrent, for qBittorrent v3.2.0-v4.0.4 check the qbittorrent-api package.
npm install qbittorrent-api-v2
const api = require('qbittorrent-api-v2')
api.connect('http://localhost:8080', 'admin', 'your_password')
.then(qbt => {
qbt.torrents()
.then(torrents => {
console.log(torrents)
})
.catch(err => {
console.error(err)
})
})
.catch(err => {
console.error(err)
})
The module is fully self-documented so you will find all info in the code.
See qBittorrent's API documentation for more info.
connect(host, user, password)
This method returns a Promise resolving an object allowing to call the other methods of the API.
appVersion()
apiVersion()
buildInfo()
shutdown()
preferences()
TODO
defaultSavePath()
log(normal, info, warning, critical, lastKnownId)
peerLog(lastKnownId)
syncMainData(rid)
syncPeersData(hash, rid)
transferInfo()
speedLimitsMode()
toggleSpeedLimitsMode()
globalDownloadLimit()
setGlobalDownloadLimit(limit)
globalUploadLimit()
setGlobalUploadLimit(limit)
banPeers(peers)
torrents([filter], [category], [sort], [reverse], [limit], [offset], [hashes])
properties(hash)
trackers(hash)
webseeds(hash)
files(hash)
pieceStates(hash)
pieceHashes(hash)
pauseTorrents(hashes)
resumeTorrents(hashes)
deleteTorrents(hashes)
recheckTorrents(hashes)
reannounceTorrents(hashes)
editTrackers(hash, origUrl, newUrl)
removeTrackers(hash, urls)
addPeers(hashes, peers)
TODO
addTrackers(hash, urls)
increasePriority(hashes)
decreasePriority(hashes)
maxPriority(hashes)
minPriority(hashes)
setFilePriority(hash, id, priority)
downloadLimit(hashes)
setDownloadLimit(hashes, limit)
setShareLimit(hashes, ratioLimit, seedingTimeLimit)
uploadLimit(hashes)
setUploadLimit(hashes, limit)
setLocation(hashes, location)
rename(hash, name)
setCategory(hash, category)
categories()
createCategory(category, savePath)
editCategory(category, savePath)
removeCategories(categories)
addTags(hashes, tags)
removeTags(hashes, tags)
tags()
createTags(tags)
deleteTags(tags)
setAutoManagement(hashes, enable)
toggleSequentialDownload(hashes)
toggleFirstLastPiecePrio(hashes)
setForceStart(hashes, value)
setSuperSeeding(hashes, value)
renameFile(hash, id, name)
startSearch(pattern, plugins, category)
stopSearch(id)
searchStatus([id])
searchResults(id, [limit], [offset])
deleteSearch(id)
searchCategories([pluginName])
searchPlugins()
installPlugin(sources)
uninstallPlugin(names)
enablePlugin(names, enable)
updatePlugins()
FAQs
Wrapper around qBittorrent's Web API v2 to manage your torrents from Node. Documented and everything.
The npm package qbittorrent-api-v2 receives a total of 52 weekly downloads. As such, qbittorrent-api-v2 popularity was classified as not popular.
We found that qbittorrent-api-v2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.