jpetrucciani / hubspot3

python3.6+ hubspot client based on hapipy, but modified to use the newer endpoints and non-legacy python
MIT License
146 stars 72 forks source link

Add get_recently_modified method to EngagementsClient class #94

Closed clivecorbishley closed 4 years ago

clivecorbishley commented 4 years ago

We found this client library to be super useful with quick access to the HubSpot API. We did need access to recent engagements as per this endpoint: https://developers.hubspot.com/docs/methods/engagements/get-recent-engagements

We were able to quickly replicate this successfuly by cloning and tweaking the get_all method.

It is worth noting that this method takes a timestamp (in milliseconds, just like Hubspot).

I am also happy to assist with documentation of this or testing.

jpetrucciani commented 4 years ago

I'm glad you've found it useful! 😄

Thanks for your contribution - I'll get that merged + released soon

jpetrucciani commented 4 years ago

This is now live on pip as version 3.2.47

Thanks again for your contribution! 😄

clivecorbishley commented 4 years ago

Great, thank you!