0.7.0
NEW
- [DSM] Can
GET
any DSM API withsynology_dsm.get(api: str, method: str, params: dict, **kwargs)
(@Quentame #33) - [DSM] Can
POST
any DSM API withsynology_dsm.post(api: str, method: str, params: dict, data: dict, files: dict, **kwargs)
(@Quentame #33) - [DSM] raise
SynologyDSMAPINotExistsException
if the API does not exists (@Quentame #33) - [DSM] raise
SynologyDSMAPIErrorException
if the API respond with an error (@Quentame #33) - [DSM] raise
SynologyDSMRequestException
if there is aRequestException
(mainlyConnectionError
orSSLError
) or aJSONDecodeError
(@Quentame #33) - [SynoDSMInformation] "SYNO.DSM.Info" API automatically fetched after login (@Quentame #33)
- [SynoDSMInformation] Add
version
property (@Quentame #33)
BUG FIXES
BREAKING CHANGES
- [DSM]
dsm_version
constructor param has been removed (APIs are now auto-discovered + DSM version is fetched with the "SYNO.DSM.Info" API) (@Quentame #33)
IMPROVEMENTS
https://github.com/ProtoThis/python-synology/milestone/3?closed=1