jpetrucciani / hubspot3

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

Email Subscriptions API #54

Closed W1ldPo1nter closed 5 years ago

W1ldPo1nter commented 5 years ago

This PR adds a client for the Email Subscription API with methods for some of its endpoints.

Since the Update email subscription status for an email address endpoint allows for different data formats (see examples in the HubSpot docs), it received multiple methods in the client to be able to either send raw data or to more comfortably use the individual formats.

jpetrucciani commented 5 years ago

Awesome - I'll review and merge soon! Thanks for the contribution!

jpetrucciani commented 5 years ago

This is now live on pip as version 3.2.25!

Thanks again for your contributions 😄