Version¶
-
class
qbittorrentapi._version_support.
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)¶ Returns whether a version of the qBittorrent Web API is fully supported by this API client.
Parameters: api_version – version of qBittorrent Web API version such as 2.8.4 Returns: True or False for whether version is supported
-
classmethod
is_app_version_supported
(app_version)¶ Returns whether a version of the qBittorrent application is fully supported by this API client.
Parameters: app_version – version of qBittorrent application such as v4.4.0 Returns: True or False for whether version is supported
-
classmethod
latest_supported_api_version
()¶ Returns the most recent version of qBittorrent Web API that is fully supported.
-
classmethod
latest_supported_app_version
()¶ Returns the most recent version of qBittorrent application that is fully supported.
-
classmethod
supported_api_versions
()¶ Set of all supported qBittorrent Web API versions.
-
classmethod
supported_app_versions
()¶ Set of all supported qBittorrent application versions.
-
classmethod