Skip to content

royzheng/qbittorrent

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published