jpbrazerzkidai.blogg.se

Synology drive mapping
Synology drive mapping






If you use dsm 7, default dsm_version is '6'. with SynologyDrive ( NAS_USER, NAS_PASS, NAS_IP, https = False ) as synd : pass # use domain name or name + path access drive # Enabled in Application Portal | Application | Drive | General | Enable customized alias drive_path_demo = 'your_nas_domain/drive' # Enabled in Application Portal | Application | Drive | General | Enable customized domain drive_path_demo2 = 'your_drive_domain' with SynologyDrive ( NAS_USER, NAS_PASS, drive_path_demo ) as synd : pass # disable label cache with SynologyDrive ( NAS_USER, NAS_PASS, drive_path_demo, enable_label_cache = False ) as synd : pass with SynologyDrive ( NAS_USER, NAS_PASS, NAS_IP ) as synd : pass # Use specified port with SynologyDrive ( NAS_USER, NAS_PASS, NAS_IP, NAS_PORT ) as synd : pass # use http instead of https.

synology drive mapping synology drive mapping

from synology_drive_api.drive import SynologyDrive # default http port is 5000, https is 5001. if you need multiple login session and label functions, disable label cache. Synology Drive allows same user with multiple login session. You can access drive by IP, drive domain or nas domain + drive path.

SYNOLOGY DRIVE MAPPING INSTALL

Installation pip install synology-drive-api By means of Synology Office, you can edit spreadsheet on Drive and use this api wrapper read spreadsheet.

synology drive mapping

It helps you manage your files/folders/labels in synology drive. This repo is aimed at providing Synology drive api wrapper and related helper functions. Synology-drive-api is inspired by synology-api.






Synology drive mapping