Skip to main content

Complete API wrapper for the usenet downloading tool SABnzbd

Project description

sabnzbd-api

sabnzbd-api is a lightweight and easy-to-use Python library that simplifies interactions with the SABnzbd API. It provides a convenient way to integrate SABnzbd functionality into your Python applications, allowing you to manage and automate NZB downloads programmatically.

Features

  • Authenticate using your API key.
  • Access SABnzbd's API endpoints with minimal setup.

This project was inspired by and built upon the work of anasty17

Installation

Install the library using pip:

pip install sabnzbd-api

Usage

Here's a quick example of how to use the library:

from sabnzbd_api import SabnzbdClient

nzb_file = "file.nzb"

client = SabnzbdClient(host="http://localhost", api_key="your_api_key")

add_nzb = client.add_uri(file=nzb_file)

progress = client.get_downloads(nzo_ids=add_nzb.get("nzo_ids")[0])

print(progress)

client.close()

Requirements

  • Python 3.6+

Credits

This package was inspired by and built upon the work of anasty17.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sabnzbd-api-0.1.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sabnzbd_api-0.1.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file sabnzbd-api-0.1.0.tar.gz.

File metadata

  • Download URL: sabnzbd-api-0.1.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.0

File hashes

Hashes for sabnzbd-api-0.1.0.tar.gz
Algorithm Hash digest
SHA256 58dda88ca07106fa02609d6fe2f901b3ffd77199044563fe26c18464429f7fa2
MD5 7739978291a559a60066af50756b8ba2
BLAKE2b-256 1294ea67b263d5e0ed0dc673a1a7784f94fee4dec2d12c61980b05bb85c3d0a2

See more details on using hashes here.

File details

Details for the file sabnzbd_api-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sabnzbd_api-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.0

File hashes

Hashes for sabnzbd_api-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc258aff7fb6da0fb054067bde488cb9b049027d4034064ed2348034396fc2fd
MD5 cae8cea48219f5c413fbd46480a081f4
BLAKE2b-256 71ee1e39ee69ec10ac49006c3da02df4a1f8c0bd288dac78eb16d5a4f9ad8323

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page