python request for traffic and contacts analytics

I’m looking for the documentation that would point me to the requests I need to make using HubSpot Python API to get HubSpot Marketing Traffic and Contacts data (all the data)

Thanks!

Hi @SarahOps

You can get Web Analytics data using these APIs:

You can get Contact Data using these APIs:

And you can use the Python SDK to make your life easier:

And, you’ll need to set up an App to handle your API calls, so I’d start here:

Have fun

Mike

Here to learn more about HubSpot and share my HubSpot Knowledge. I’m the founder of Webalite a HubSpot Partner Agency based in Wellington, New Zealand and the founder of Portal-iQ the world’s first automated HubSpot Portal Audit that helps you work smarter with HubSpot.

Hi @Mike_Eastwood ,

Thanks for the pointers. I’ve looked at the documentation. Would the Events API be the right one to use to extract Forms data? Can we also extract CTA data?

Thanks!