From 7622f48826ee6c6ecac4aa94e6c0cb207a3f5751 Mon Sep 17 00:00:00 2001 From: ksvirkou Date: Fri, 17 Dec 2021 16:47:54 +0300 Subject: [PATCH] add an example of calling a resource --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index d59a8340..2505f67f 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,11 @@ $hubspot = new SevenShores\Hubspot\Factory([ 'key' => 'demo', 'oauth2' => 'false', // default ]); + +// Then you can call a resource +// When referencing resources, use camelCase + +$hubspot->contactlists ``` You can find more information about API keys [here](https://knowledge.hubspot.com/integrations/how-do-i-get-my-hubspot-api-key) and about access tokens [here](https://developers.hubspot.com/docs/api/oauth/tokens)