You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-10Lines changed: 9 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,8 @@ $proxmox = new ZzAntares\ProxmoxVE\ProxmoxVE($credentials);
52
52
53
53
$allNodes = $proxmox->get('/nodes');
54
54
55
-
print_r($allNodes);```
55
+
print_r($allNodes);
56
+
```
56
57
57
58
58
59
Sample output:
@@ -82,7 +83,7 @@ Array
82
83
)
83
84
```
84
85
85
-
For the lazy ones it's possible to create a ProxmoxVE instance passing an associative array but you need to specify realm and port:
86
+
For the lazy ones it's possible to create a ProxmoxVE instance passing an associative array but you need to specify all fields including realm and port:
86
87
87
88
```php
88
89
$credentials = array(
@@ -100,11 +101,9 @@ $proxmox = new ZzAntares\ProxmoxVE\ProxmoxVE($credentials);
100
101
Docs
101
102
----
102
103
103
-
On your proxmox client object you can use `get()`, `post()`, `put()` and `delete()` functions for all resources specified at [PVE2 API Documentation].
104
-
105
-
> *How does the Proxmox API works?*
104
+
On your proxmox client object you can use `get()`, `post()`, `put()` and `delete()` functions for all resources specified at [PVE2 API Documentation], params are passed as second parameter in an associative array.
106
105
107
-
>Consult the [ProxmoxVE API] article at the [Proxmox wiki].
106
+
*How does the Proxmox API works?* Consult the [ProxmoxVE API] article at the [Proxmox wiki].
108
107
109
108
110
109
License
@@ -120,22 +119,22 @@ If you feel guilty by using this open source software library for free, you can
[](https://github.com/ZzAntares/ProxmoxVE/fork)
137
136
138
-
`Fork and code! There is no better donation that your code contribution ;)`
137
+
> Fork and code! There is no better donation that your code contribution ;)
0 commit comments