Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Python API client for Lidarr/Radarr/Readarr/Sonarr.

License

NotificationsYou must be signed in to change notification settings

tkdrob/aiopyarr

Repository files navigation

codecovpython versionPyPIActions

Python API client for Lidarr/Radarr/Readarr/Sonarr.

Installation

python3 -m pip install aiopyarr

Example usage

More examples can be found in thetests directory.

"""Example usage of aiopyarr."""importasynciofromaiopyarr.models.host_configurationimportPyArrHostConfigurationfromaiopyarr.radarr_clientimportRadarrClientIP="192.168.100.3"TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"asyncdefasync_example():"""Example usage of aiopyarr."""host_configuration=PyArrHostConfiguration(ipaddress=IP,api_token=TOKEN)asyncwithRadarrClient(host_configuration=host_configuration)asclient:print(awaitclient.async_get_system_status())asyncio.get_event_loop().run_until_complete(async_example())

Contribute

All contributions are welcome!

  1. Fork the repository
  2. Clone the repository locally and open the devcontainer or use GitHub codespaces
  3. Do your changes
  4. Lint the files withmake lint
  5. Ensure all tests passes withmake test
  6. Ensure 100% coverage withmake coverage
  7. Commit your work, and push it to GitHub
  8. Create a PR against themaster branch

[8]ページ先頭

©2009-2025 Movatter.jp