I've been tasked with using python to pull event data from marketing cloud into a SQL database. I can get a print output with getResponse = getBounceEvent.get(), then print(getResponse.results). But the format is strange:
[(BounceEvent){
Client =
(ClientID){
ID = client_id_here
}
PartnerKey = None
ObjectID = None
SendID = 4016
SubscriberKey = "subscriber_key_here"
EventDate = 2021-05-12 12:53:38.780000
EventType = "OtherBounce"
TriggeredSendDefinitionObjectID = None
BatchID = 4
}, (BounceEvent){
Client =
(ClientID){
etc, etc
...]
I gather from the square brackets that it's ultimately a list, but what's inside it is not-quite-json. Any ideas how I can get this into a dataframe?