diff --git a/README.md b/README.md index 0fe7cef..fc848bd 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,33 @@ vendor/bin/phpunit ## Getting Started -Simple usage looks like: +Simple usage looks like (example fetching a list of products): ```php + $clientId, + 'client_secret' => $clientSecret, + 'logging_enable' => true, + 'logging_file_name' => 'var/log/subscribe_pro_api.log', + 'logging_message_format' => $messageFormat, + 'api_request_timeout' => 60, +]); + +$products = $sdk + ->getProductService() + ->loadProducts(['sku' => 'SOME-EXAMPLE-SKU']); + ```