@fett/synology-api 0.0.1-beta.3 → 0.0.1-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # synology-api
1
+ # Synology Api
2
2
 
3
3
  nodejs synology api wrapper
4
4
 
@@ -14,9 +14,13 @@ const synologyApi = new SynologyApi(
14
14
  password: "password",
15
15
  );
16
16
 
17
- // Connect to the server
18
- await synologyApi.connect();
17
+ // you can now use the api by calling the methods
18
+ const info = await synologyApi.FileStation.getInfo();
19
19
 
20
20
  ```
21
21
 
22
22
  ## API
23
+
24
+ ### FileStation
25
+
26
+ ### AudioStation
package/bin/syno ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ const { loadCli } = require("../lib/cjs/index");
3
+
4
+ (async () => {
5
+ await loadCli();
6
+ })();