Python code to get a view as table

Hi,
I am new to hubspot and we use enterprise edition for crm management.
The requirement is , we have created a custom object devices.
When i go there i can see a view there
When i tried to fetch the data of that custom object “devices” with api i get all the data , but not in the format as i see theres as view.
How can i get that?

Hi, @AE9 :waving_hand: Welcome to the community!

Have you looked into the Exports API endpoints? Specifically, the endpoint to Export a View?

If not, I have a few questions to help the community better understand how to help you:

  • Can you specify which endpoint you are using?
  • Can you share a simple request and response? You can use the on-page example for the endpoint and copy + paste it here after making the call
  • What are you expecting to see versus what are you getting back? Is it that you are only getting back a small set of properties and not all the properties for your custom object? Or is it another issue?

Thank you! — Jaycee