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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bb0defcb1aa19333f717a63464fbdc8b8a748a00ca4289be5c7496f045d339f
|
|
| MD5 |
6e248b2c6d7dcf8d39f5386b5204fb7a
|
|
| BLAKE2b-256 |
a5aba0cf6a4bc977afd60a7f9846c1805cf709db73feef7705ee0c4397924f48
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65ab9aecda300e574c5074b0ae4b971f61346d89d9e3f80393dc72c712ac3797
|
|
| MD5 |
7023cfcd9de87081fd0553239fc3c5fb
|
|
| BLAKE2b-256 |
1406b9a7135a8fe164fe928265647694c0963a6e6a5439228c915ae866d13586
|