0.0
Low commit activity in last 3 years
No release in over a year
QBittorrent WEB API Client.only support qBittorrent v4.1+.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 4.4.1
~> 1.4
 Project Readme

QbittorrentClient

A Qbittorrent Web API Client, only support WebUI API (qBittorrent 4.1+).

Installation

Add this line to your application's Gemfile:

gem 'qbittorrent'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install qbittorrent

Usage

client = QBittorrent::Api.new("http://localhost:8080", "admin", "password")

Authentication

client.login
client.logout

Application

client.application_version
client.api_version
client.build_info
client.preferences
client.set_preferences(options)
client.shutdown
client.default_save_path
client.get_torrents(options)
client.delete_torrents(hashes, delete_files)
client.add_torrents(urls_of_file_path, options)
client.reannounce(hashes)

License

The gem is available as open source under the terms of the MIT License.