0.7.0
NEW
- [DSM] Can
GETany DSM API withsynology_dsm.get(api: str, method: str, params: dict, **kwargs)(@Quentame #33) - [DSM] Can
POSTany DSM API withsynology_dsm.post(api: str, method: str, params: dict, data: dict, files: dict, **kwargs)(@Quentame #33) - [DSM] raise
SynologyDSMAPINotExistsExceptionif the API does not exists (@Quentame #33) - [DSM] raise
SynologyDSMAPIErrorExceptionif the API respond with an error (@Quentame #33) - [DSM] raise
SynologyDSMRequestExceptionif there is aRequestException(mainlyConnectionErrororSSLError) or aJSONDecodeError(@Quentame #33) - [SynoDSMInformation] "SYNO.DSM.Info" API automatically fetched after login (@Quentame #33)
- [SynoDSMInformation] Add
versionproperty (@Quentame #33)
BUG FIXES
BREAKING CHANGES
- [DSM]
dsm_versionconstructor 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