python-qBittorrent
python-qBittorrent copied to clipboard
Add function to set share ratio
Code is heavily inspired from https://github.com/v1k45/python-qBittorrent/pull/40#issue-577675575 . I noticed the PR is not merged and points to the wrong path, so I fixed the API path and added more information on the parameters.
Tested on Linux 10 Buster.
Reference:
- Official Web API https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#set-torrent-share-limit