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.
  • Includes All Functionalities

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.2.tar.gz (7.5 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.2-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sabnzbd-api-0.1.2.tar.gz
  • Upload date:
  • Size: 7.5 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.2.tar.gz
Algorithm Hash digest
SHA256 1bb0defcb1aa19333f717a63464fbdc8b8a748a00ca4289be5c7496f045d339f
MD5 6e248b2c6d7dcf8d39f5386b5204fb7a
BLAKE2b-256 a5aba0cf6a4bc977afd60a7f9846c1805cf709db73feef7705ee0c4397924f48

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sabnzbd_api-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 65ab9aecda300e574c5074b0ae4b971f61346d89d9e3f80393dc72c712ac3797
MD5 7023cfcd9de87081fd0553239fc3c5fb
BLAKE2b-256 1406b9a7135a8fe164fe928265647694c0963a6e6a5439228c915ae866d13586

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