From abe64a4d0b6638e239c2c0edf0a6b80ce15d8bbc Mon Sep 17 00:00:00 2001 From: Fausto Quaggia Date: Thu, 4 Jul 2024 23:07:13 +0200 Subject: [PATCH] docs: client params --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3521f2c..48b9887 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,10 @@ composer require orama/oramacloud-client use OramaCloud\Client; use OramaCloud\Query; -$client = new Client("", ""); +$client = new Client([ + 'api_key' => '', + 'endpoint' => '' +]); $results = $client->search( (new Query())