add usage example

This commit is contained in:
ghost 2023-12-21 05:16:43 +02:00
parent 1e7ea16b95
commit c5559e4ca5

View File

@ -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