A Sonarr and Radarr API Wrapper
Project description
Sonarr and Radarr API Python Wrapper
Original Sonarr wrapper from SLiX69/Sonarr-API-Python-Wrapper which has been mostly re-written and Radarr added by myself.
Unofficial Python Wrapper for the Sonarr and Radarr API.
Currently the package is under development, see the full documentation for supported commands
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 Usage:
# Import RadarrAPI Class
from PyArr import RadarrAPI
# 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 = RadarrAPI(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-0.6.0.tar.gz
(6.6 kB
view hashes)
Built Distribution
PyArr-0.6.0-py3-none-any.whl
(8.3 kB
view hashes)