Categorygithub.com/5rahim/go-qbit
modulepackage
0.1.1
Repository: https://github.com/5rahim/go-qbit.git
Documentation: pkg.go.dev

# README

go-qbit

Wrapper for qBittorrent Web API (> v3.1.x)

Forked from KnutZuidema/go-qbittorrent

Example

package main

import (
	"fmt"
	qbittorrent "github.com/5rahim/go-qbit"
)

func main() {
	client := qbittorrent.NewClient(&qbittorrent.NewClientOptions{
		Username: "",
		Password: "",
		Port:     8080,
		Host:     "127.0.0.1",
		BinaryPath: "C:/Program Files/qBittorrent/qbittorrent.exe",
	})
	
	err := client.Login()
	if err != nil {
		fmt.Printf("failed to login: %v\n", err)
	}
	
	err = client.Start()
	if err != nil {
		fmt.Printf("failed to start qBittorrent: %v\n", err)
	}
}

qBittorrent settings

  1. Go to Options > Web UI
  2. Check the box for Web User Interface (Remote Control)

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author