Skip to content

Commit 2a1899d

Browse files
Update README.md
1 parent 9961a1a commit 2a1899d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,13 @@ $ composer require julianobailao/php-db1-api-client
3636
## Usage
3737

3838
```php
39-
// to do
39+
use JulianoBailao\DomusApi\Client;
40+
41+
$client = new Client('foo.bar', '8080', 'username', 'password');
42+
43+
// Operações de produtos
44+
// Paginação de produtos
45+
$produtos = $client->products()->paginate(['pageSize' => 100, 'start' => 0]);
4046
```
4147

4248
## License

0 commit comments

Comments
 (0)