Skip to content

Commit

Permalink
Merge pull request #368 from HubSpot/fix/readme
Browse files Browse the repository at this point in the history
add an example of calling a resource
  • Loading branch information
ksvirkou-hubspot authored Dec 17, 2021
2 parents a86b56c + 7622f48 commit deb0310
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 deb0310

Please sign in to comment.