Synolopy
Synology is a Python library aimed to help using Synology device’s APIs.
Features
Common Gateway Interface builder
Since Synology APIs are build using the same pattern, this library also uses and provides tools to instanciate a pythonic consumer for any CGI-based API.
Installation
Easy way
pip install synolopy
“Hard” way
git clone git@github.com:thavel/synolopy.git synolopy
cd ./synolopy
pip install .
Disk Station Manager API
Disk Station Manager is the name of the system on any Synology NAS devices.
Quick start
To start using the NAS API, you need to import the library:
from synolopy import NasApi
nas = NasApi('http://192.168.0.99:5000/webapi/', 'admin', 'my_super_strong_password')
Basically, any API request follows this pattern: > nas.application.service.request(method, [params])
For further information about methods and parameters, you need to read the official documentation of the related application (cf. docs linked above).
Metadata
Release files for synolopy 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| synolopy-0.1.2.tar.gz | 3.6 kB | Details |
Release files / synolopy-0.1.2.tar.gz
| Download URL | synolopy-0.1.2.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
96de21de13815383c96fc648d9315fcc9bb37d31d75e62fe1c8ad80ea064a232
|
|
BLAKE2b-256 checksum How to use checksums |
13ebc51292d20a1d8f923f24196b5ad9afc8832360f15ad29f3c5c915dace82e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |