qbittorrent-api Aug 30, 2021 Contents 1 Introduction 1 Python Module Index 41 Index 43 i ii CHAPTER 1 Introduction Python client implementation for qBittorrent Web API. Currently supports up to qBittorrent v4.3.8 (Web API v2.8.2) released on Aug 28, 2021. The full qBittorrent Web API documentation is available on their wiki. 1.1 Features • The entire qBittorent Web API is implemented. • qBittorrent version checking for an endpoint’s existence/features is automatically handled. • All Python versions are supported. • If the authentication cookie expires, a new one is automatically requested in line with any API call. 1.2 Installation • Install via pip from PyPI: – pip install qbittorrent-api • Install specific release: – pip install git+https://github.com/rmartin16/qbittorrent-api.
[email protected]#egg=qbittorrent-api • Install direct from master: – pip install git+https://github.com/rmartin16/qbittorrent-api. git#egg=qbittorrent-api 1 qbittorrent-api • Ensure urllib3, requests, and attrdict are installed. (These are installed automatically using the methods above.) • Enable WebUI in qBittorrent: Tools -> Preferences -> Web UI • If the Web API will be exposed to the Internet, follow the recommendations. 1.3 Getting Started import qbittorrentapi # instantiate a Client using the appropriate WebUI configuration qbt_client= qbittorrentapi.Client(host='localhost:8080', username='admin', password= ,!'adminadmin') # the Client will automatically acquire/maintain a logged in state in line with any ,!request. # therefore, this is not necessary; however,