Version#

class Version#

Allows introspection for whether this Client supports different versions of the qBittorrent application and its Web API.

Note that if a version is not listed as “supported” here, many (if not all) methods are likely to function properly since the Web API is largely backwards and forward compatible…albeit with some notable exceptions.

classmethod is_api_version_supported(api_version) bool#

Returns whether a version of the qBittorrent Web API is fully supported by this API client.

Parameters:

api_version (str) – version of qBittorrent Web API version such as 2.8.4

Return type:

bool

Returns:

True or False for whether version is supported

classmethod is_app_version_supported(app_version) bool#

Returns whether a version of the qBittorrent application is fully supported by this API client.

Parameters:

app_version (str) – version of qBittorrent application such as v4.4.0

Return type:

bool

Returns:

True or False for whether version is supported

classmethod latest_supported_api_version() str#

Returns the most recent version of qBittorrent Web API that is supported.

Return type:

str

classmethod latest_supported_app_version() str#

Returns the most recent version of qBittorrent that is supported.

Return type:

str

classmethod supported_api_versions() set[str]#

Set of all supported qBittorrent Web API versions.

Return type:

set[str]

classmethod supported_app_versions() set[str]#

Set of all supported qBittorrent application versions.

Return type:

set[str]