python3.6+ hubspot client based on hapipy, but modified to use the newer endpoints and non-legacy python
MIT License
Bot releases are visible (Hide)
Published by jpetrucciani over 6 years ago
This release should now be available in pypi version 3.1.2
.
This release adds just a couple of new methods to the DealsClient:
DealsClient.get_recently_created
DealsClient.get_recently_modified
which use the following endpoints, with corresponding options being kwargs:
https://developers.hubspot.com/docs/methods/deals/get_deals_created
https://developers.hubspot.com/docs/methods/deals/get_deals_modified
Published by jpetrucciani over 6 years ago
A basic version of this (returns url called, data passed to the api call, and headers) should now be available in pypi version 3.1.1
.
You can access this by passing a truthy value to the kwarg debug
to either the constructor of a client or by passing that to the call you're making.
example:
deals_client = DealsClient(api_key=API_KEY, debug=True)
deals_client.get_all(propertiesWithHistory="Amount")
# or this works too
deals_client = DealsClient(api_key=API_KEY)
deals_client.get_all(propertiesWithHistory="Amount", debug=True)
Thanks @guysoft for the suggestion and some documentation for the readme!