qbittorrent-client-go
qbittorrent-client-go is a Go client for qBittorrent, this library applies to qBittorrent v4.1+.
qBittorrent is an open-source BitTorrent client for all platforms, find more about qBittorrent at https://github.com/qbittorrent/qBittorrent
Requirements
Usage
Import the Client Library:
import "github.com/xuthus5/qbittorrent-client-go/qbittorrent"
Create a Client:
config := &qbittorrent.Config{
Address: "http://localhost:8080",
Username: "admin",
Password: "admin",
RefreshIntervals: time.Hour,
ConnectionTimeout: time.Second * 3,
}
client, err := qbittorrent.NewClient(config)
if err != nil {
}
if err := client.Authentication().Login(); err != nil {
}