billtomturner / go-nzbget-client

A Go client SDK for NZBGet API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-nzbget-client

Description

This project is a Go client SDK for the NZBGet usenet downloader.

Usage

The nzbget_test.go file includes more comprehensive details, and structs are documented within nzbget.go. Usage is pretty straight forward:

package main

import "github.com/billtomturner/go-nzbget-client"

client, err := nzbget.New("http://localhost:6789", "username", "password")

// Get configuration
config, err := client.Config()

//  Get server transfer volumes
volumes, err := client.ServerVolumes()

// Get active file groups
volumes, err := client.FileGroups()

// Get server status
status, err := client.Status()

// Get server file group history
history, err := client.History()

About

A Go client SDK for NZBGet API


Languages

Language:Go 99.6%Language:Dockerfile 0.4%