kazio73/synology-api-client
最新稳定版本:0.3.8
Composer 安装命令:
composer require kazio73/synology-api-client
包简介
Synology API client
关键字:
README 文档
README
This is a PHP Library that consume Synology FileStation APIs. The library is being updated. A small SynologyDrive support has appeared.
-
SYNO.Api :
- connect
- disconnect
- getAvailableApi
-
SYNO.FileStation:
- connect
- disconnect
- getInfo
- getShares
- getObjectInfo
- getList
- getPathInfo
- search
- createFolder
- uploadFile
- download
- delete
-
SYNO.DriveStation:
- connect
- disconnect
- getInfo
- getTeamFolders
- getMyDrive
- getDir
- createFolder
- deleteFolder
Usage for FileStationClient Synology Api:
$synology = new FileStationClient('192.168.10.5', 5000, 'http', 1); $synology->activateDebug(); $synology->connect('admin', 'xxxx'); print_r($synology->getAvailableApi());
Usage for DriveStationClient Synology Api:
$synology = new FileStationClient('192.168.10.5', 5000, 'http', 1); $synology->activateDebug(); $synology->connect('admin', 'xxxx'); print_r($synology->getInfo('type: private || team', 'path')); print_r($synology->getDir('type: private || team', 'path', 'name'));
统计信息
- 总下载量: 33
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-09-03