Skip to main content

Synology Python API

Project description

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).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

synolopy-0.1.2.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file synolopy-0.1.2.tar.gz.

File metadata

  • Download URL: synolopy-0.1.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for synolopy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 96de21de13815383c96fc648d9315fcc9bb37d31d75e62fe1c8ad80ea064a232
MD5 40f2013b1c5642e9b6f6761369f38845
BLAKE2b-256 13ebc51292d20a1d8f923f24196b5ad9afc8832360f15ad29f3c5c915dace82e

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page