Asynchronous Python client for Sonarr API.
This package allows you to monitor a Sonarr instance.
pip install sonarrimportasynciofromsonarrimportSonarrasyncdefmain():
"""Show example of connecting to your Sonarr instance."""asyncwithSonarr("192.168.1.100", "API_TOKEN") assonarr:
info=sonarr.update()
print(info)
if__name__=="__main__":
loop=asyncio.get_event_loop()
loop.run_until_complete(main())