Skip to content

Commit

Permalink
add an example of calling a resource
Browse files Browse the repository at this point in the history
  • Loading branch information
ksvirkou-hubspot committed Dec 17, 2021
1 parent a86b56c commit 7622f48
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7622f48

Please sign in to comment.