1.0.0 • Published 5 years ago

qbittorrent v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

qBittorrent npm CircleCI coverage status

TypeScript api wrapper for qBittorrent using got

Install

npm install @ctrl/qbittorrent

Use

import { QBittorrent } from '@ctrl/qbittorrent';

const qbittorrent = new QBittorrent({
  baseUrl: 'http://localhost:8080/',
  username: 'admin',
  password: 'adminadmin',
});

async function main() {
  const res = await qbittorrent.getAllData();
  console.log(res.result);
}

API

Docs: https://typectrl.github.io/qbittorrent/classes/qbittorrent.html

qBittorrent Api Docs: https://github.com/qbittorrent/qBittorrent/wiki/Web-API-Documentation

See Also

deluge - https://github.com/TypeCtrl/deluge
transmission - https://github.com/TypeCtrl/transmission