mirror of
https://github.com/twisterarmy/twister-php.git
synced 2025-01-14 08:48:19 +00:00
add usage example
This commit is contained in:
parent
1e7ea16b95
commit
c5559e4ca5
12
README.md
12
README.md
@ -12,6 +12,18 @@ PHP 8 / Composer Tools for Twister API
|
||||
|
||||
Twister client communication toolkit
|
||||
|
||||
```
|
||||
$client = new \Twisterarmy\Twister\Client('http', 'localhost', 28332, 'user', 'pwd');
|
||||
|
||||
var_dump(
|
||||
$client->getPosts(
|
||||
[
|
||||
'twisterarmy'
|
||||
]
|
||||
)
|
||||
);
|
||||
```
|
||||
|
||||
#### Methods
|
||||
|
||||
Currently not documented, please visit src/Client.php for details
|
||||
|
Loading…
Reference in New Issue
Block a user