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

Review API and use version 3 instead of 1? #110

Open FredrikWendt opened 3 years ago

FredrikWendt commented 3 years ago

Thanks for providing this wrapper, it works well for us. However, it's been a while since v3 of Hubspot's API was made the default. I just realized /contacts/v1/contact/vid/6191/profile?hapikey=1111111111111 was used, instead of /crm/v3/objects/contacts/6191. While v1 works, it may eventually be dropped.

(I discovered this when trying to figure out how to turn off the properties history/versions. The docs for the current API version (v3) said nothing about it.)