Skip to content

Commit 59504a8

Browse files
committed
Update README.md
1 parent 5b485e5 commit 59504a8

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ $proxmox = new ZzAntares\ProxmoxVE\ProxmoxVE($credentials);
5252

5353
$allNodes = $proxmox->get('/nodes');
5454

55-
print_r($allNodes);```
55+
print_r($allNodes);
56+
```
5657

5758

5859
Sample output:
@@ -82,7 +83,7 @@ Array
8283
)
8384
```
8485

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:
8687

8788
```php
8889
$credentials = array(
@@ -100,11 +101,9 @@ $proxmox = new ZzAntares\ProxmoxVE\ProxmoxVE($credentials);
100101
Docs
101102
----
102103

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

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].
108107

109108

110109
License
@@ -120,22 +119,22 @@ If you feel guilty by using this open source software library for free, you can
120119

121120
[![Bitcoin](https://lh6.googleusercontent.com/-otZw6Z5QKfQ/U6tqGsLBWYI/AAAAAAAAB-8/kvXncUJKKpU/w100-h36-no/bitcoin_accepted_here2.png)](https://blockchain.info/address/12g5CxCnWTc2dfo2EozCvfhi4QaFRj1vsX)
122121

123-
`12g5CxCnWTc2dfo2EozCvfhi4QaFRj1vsX`
122+
> 12g5CxCnWTc2dfo2EozCvfhi4QaFRj1vsX
124123
125124

126125
[![Litecoin](https://lh3.googleusercontent.com/-s0Z7VSNScBU/U6tqGnAU5DI/AAAAAAAAB-0/fqaowxhOoBg/w100-h36-no/litecoin-accepted2.jpg)](http://ltc.blockr.io/address/info/LZuAcxLX4CBCPfLRtixatwRh234jNm3EyS)
127126

128-
`LZuAcxLX4CBCPfLRtixatwRh234jNm3EyS`
127+
> LZuAcxLX4CBCPfLRtixatwRh234jNm3EyS
129128
130129

131130
[![PayPal](https://lh5.googleusercontent.com/-bQoXNrSpb8M/U6tqGqAFQUI/AAAAAAAAB-4/OkjaZ2ZQCUc/w100-h26-no/pp-logo-100px.png)](https://www.paypal.com/mx/cgi-bin/webscr?cmd=%5fsend%2dmoney&nav=1)
132131

133-
132+
134133
135134

136135
[![Fork me on GitHub](https://lh4.googleusercontent.com/-02ApStd24fs/U6t2PxxAQVI/AAAAAAAACAE/koI2tECOE60/w81-h32-no/GitHubForkButton.png)](https://github.com/ZzAntares/ProxmoxVE/fork)
137136

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 ;)
139138
140139

141140
TODO

0 commit comments

Comments
 (0)