python-synology
python-synology copied to clipboard
Bumps [dparse](https://github.com/pyupio/dparse) from 0.5.1 to 0.5.2. Changelog Sourced from dparse's changelog. 0.5.2 (2022-08-09) Install pyyaml only when asked for with extras (conda extra) Add support for piptools requirements.in Use ConfigParser...
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.25.11 to 1.26.5. Release notes Sourced from urllib3's releases. 1.26.5 :warning: IMPORTANT: urllib3 v2.0 will drop support for Python 2: Read more in the v2.0 Roadmap Fixed...
After synology upgrade to DSM 7, the **_initialize_api_sid** fails on ``` Traceback (most recent call last): File "synology-snapshot.py", line 34, in surveillance = SurveillanceStation(api_url, username, password, verify_ssl=verify_ssl, timeout=timeout) File "/root/synology-snapshot-docker/.venv/lib/python3.8/site-packages/synology/surveillance_station.py",...
Calling `SynologyDSM().surveillance_station.update()` with a regular user results in: ``` SynologyDSMLoginInvalidException: {'api': 'SYNO.API.Auth', 'code': 400, 'reason': 'Invalid credentials', 'details': 'Invalid password or not admin account: user'} ``` I received the same...
Would you accept a pull request that implements list, create, and delete @ SYNO.Core.Share.Snapshot? If yes, does it belong at `synology_dsm/api/core/share/snapshot` or `synology_dsm/api/core/snapshot`? A trace of a request points at...
Hi there! Could anyone let me know if there is a way to upload a file using this librarie? Thanks in advance
Hello, I am trying to connect to my Synology NAS using the sample code. I try to make this connection from an external computer, which is not connected to the...
* List all installed certificate names * List all Self-signed certificate names * List all Let's Encrypt certificate names * List all available Services that can be associated to Certificates...
```python from synology_dsm import SynologyDSM as sdsm from synology_dsm.api.surveillance_station import SynoSurveillanceStation from getpass import getpass class Camera: api:SynoSurveillanceStation id:int def __init__(self, api:SynoSurveillanceStation, id:int): self.api = api self.id = id @property...
```python >>> for share_uuid in api.share.shares_uuids: ... print("Share name: " + str(api.share.share_name(share_uuid))) ... print("Share path: " + str(api.share.share_path(share_uuid))) ... print("Space used: " + str(api.share.share_size(share_uuid, human_readable=True))) ... print("Recycle Bin Enabled: "...