Crate qbittorrent_rust

Source
Expand description

§Qbittorrent-rust

Qbittorrent-rust is an asynchronous library that makes interfacing with the Qbittorrent WebUI API simple and intuitive, keeping things as simple as possible while still letting you have maximum freedom of use.

§Design

The library is designed to have as few obscuring types as possible between your code and the Qbittorrent API on purpose, and its philosophy is to give the user the most freedom possible while working with it.

§Usage

The library’s main structure is [QbitApi], which provides all the methods to the Qbittorrent WebUI API. There are 7 categories of methods, corresponding to the the various categories of requests in the Qbittorrent WebUI API documentation:

NameUse
torrentsholds everything related to torrents.
logholds everything related to logging.
appholds everything related to the WebUI API application.
transferholds everything related to transfer information.
syncholds everything related to synchronization.
searchholds everything related to searching ans searching plugins.
rssholds everything related to RSS.

each method in [QbitApi] starts with its category, followed by the method’s name, all in snake case. example: torrents_add_torrent

Re-exports§

pub use error_handling::errors::Error;
pub use api_fns::application::app_preferences::*;
pub use api_fns::log::logs::*;
pub use api_fns::rss::rss::*;
pub use api_fns::search::search::*;
pub use api_fns::torrents::add_torrent::*;
pub use api_fns::torrents::info::*;
pub use api_fns::torrents::torrent_managing_misc::*;
pub use api_fns::torrents::torrents::*;

Modules§

api_fns
core
error_handling
macros
misc

Macros§

code
extended_matches
fn_hash_value_pair
fn_value_from_string
hashmap
post_request
post_request_hash
post_request_no_return
request_error_focus
torrents_fn_mult_hashes
torrents_fn_mult_hashes_prios
torrents_fn_mult_hashes_res
url