A Sonarr and Radarr API Wrapper
Project description
Sonarr and Radarr API Python Wrapper
Unofficial Python Wrapper for the Sonarr and Radarr API.
Now supports Radarr v3 API
Based on the origional wrapper from SLiX69/Sonarr-API-Python-Wrapper.
See the full documentation for supported functions.
Requirements
- requests
Example Sonarr Usage:
# Import SonarrAPI Class
from pyarr import SonarrAPI
# Set Host URL and API-Key
host_url = 'http://your-domain.com'
# You can find your API key in Settings > General.
api_key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
# Instantiate SonarrAPI Object
sonarr = SonarrAPI(host_url, api_key)
# Get and print TV Shows
print(sonarr.getSeries())
Example Radarr API v1 Usage:
# Import RadarrAPI Class
from pyarr import RadarrAPIv1
# Set Host URL and API-Key
host_url = 'http://your-domain.com'
# You can find your API key in Settings > General.
api_key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
# Instantiate RadarrAPI Object
radarr = RadarrAPIv1(host_url, api_key)
# Get and print TV Shows
print(radarr.getCalendar())
Documentation
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
pyarr-1.0.1.tar.gz
(9.6 kB
view details)
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
pyarr-1.0.1-py3-none-any.whl
(12.2 kB
view details)
File details
Details for the file pyarr-1.0.1.tar.gz.
File metadata
- Download URL: pyarr-1.0.1.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.8 Linux/5.4.0-1040-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ac7e3dff0a0058637104537ab9432d6249808371267006cb463fa4ef6a32525
|
|
| MD5 |
2de633cc580b901389219942e96206b6
|
|
| BLAKE2b-256 |
2dd9521627d7633a9f5ed6720e56d0e0440bfc574725a5e15fc4dc05fba1cd6c
|
File details
Details for the file pyarr-1.0.1-py3-none-any.whl.
File metadata
- Download URL: pyarr-1.0.1-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.8 Linux/5.4.0-1040-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfb5a1b0293f185d720e3f7dbd353543d504f44d8d019ac44d74e9ba25016017
|
|
| MD5 |
e93c86220c3fd9b360f1e17ee9422bf6
|
|
| BLAKE2b-256 |
b562f8fa7aae79ecb1ad1964bf993f87fa2e1b77bd13f902a8ec081b47abe342
|