aiopyarr
Python API client for Lidarr/Radarr/Readarr/Sonarr.
Installation
python3 -m pip install aiopyarr
Example usage
More examples can be found in the tests directory.
"""Example usage of aiopyarr."""
import asyncio
from aiopyarr.models.host_configuration import PyArrHostConfiguration
from aiopyarr.radarr_client import RadarrClient
IP = "192.168.100.3"
TOKEN = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
async def async_example():
"""Example usage of aiopyarr."""
host_configuration = PyArrHostConfiguration(ipaddress=IP, api_token=TOKEN)
async with RadarrClient(host_configuration=host_configuration) as client:
print(await client.async_get_system_status())
asyncio.get_event_loop().run_until_complete(async_example())
Contribute
All contributions are welcome!
- Fork the repository
- Clone the repository locally and open the devcontainer or use GitHub codespaces
- Do your changes
- Lint the files with
make lint - Ensure all tests passes with
make test - Ensure 100% coverage with
make coverage - Commit your work, and push it to GitHub
- Create a PR against the
masterbranch
Metadata
Release files for aiopyarr 23.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aiopyarr-23.4.0.tar.gz | 57.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aiopyarr-23.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 127.0 kB
Release files / aiopyarr-23.4.0.tar.gz
| Download URL | aiopyarr-23.4.0.tar.gz |
|---|---|
| Size | 57.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e46151e099f4dea5de8e7c3b0a4832416b9dc2c382c36d7f845e1a5a8064d7b9
|
|
BLAKE2b-256 checksum How to use checksums |
e6c735fe34baeb662e403768d9bd46e831ffe6a07f749477c438369ddf8ba306
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Release files / aiopyarr-23.4.0-py3-none-any.whl
| Download URL | aiopyarr-23.4.0-py3-none-any.whl |
|---|---|
| Size | 69.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d5a3bf882ea0032b5fc2c9977eb85c3d1c3aa8ae11e9afe80fd699d437b8602d
|
|
BLAKE2b-256 checksum How to use checksums |
1145ddab652b20d3ad7398e058b26f95094aef1573bc4f49e94f789a72a93a80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|