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.1.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.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sabnzbd-api-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 7c088e1cf4470926c181445e4caac2465f7d9dbd047aaf6e80bf26c7b4b941ad
MD5 6bc171c7ec1d0ac6a6cb6cd9b7cca364
BLAKE2b-256 642479b3ddf8d8802c9e1f660ed68ba74052f181158438d2d696d4360d588a3a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sabnzbd_api-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2c549a7a82523fc9f68197cd46743ae3f7b2157a1c945366a1a9b7f423d2a397
MD5 563cdb77a345edeafd41c3a2a9f9db47
BLAKE2b-256 3f4f4aec697fd72d19ea61d10c1690f18cd76fb1f4e0b1f39bb725713a0d890f

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