Synology SRM API
Project description
Synology SRM API
Python 3 library to use the Synology SRM (Synology Router Manager) API. This is NOT the same thing as Synology DSM (DiskStation Manager).
This library should work with the following devices.
- RT1900ac
- RT2600ac
Usage
import synology_srm client = synology_srm.Client( host='192.168.1.254', port=8001, https=True username='admin', password='FZan7xw7eh3z9Zzj', )
You can now access all different namespaces from the API. The only namespace available currently is mesh
with the following method.
devices = client.mesh.network_wifidevice() for device in devices: print("Found device {} with MAC address {}".format( device['hostname'], device['mac'] ))
HTTPS auto-signed certificate
You can disable the HTTPS certificate verification if you are using a self-signed certificate.
client.http.disable_https_verify()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size synology_srm-0.0.2-py2.py3-none-any.whl (5.6 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Filename, size synology-srm-0.0.2.tar.gz (4.9 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for synology_srm-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 621e4105527459fd9b465f889b981f50814190e5c5824d4df269abbecf118169 |
|
MD5 | c6a398378759216009e297b1beb5fd5e |
|
BLAKE2-256 | 16101f7523b76ab20687b822b974720412288edbad3757e834aed3911e5d7e46 |