I am requesting data via Mailchimp Marketing API using Batch Operations. I receive a response_body_url
which once clicked, downloads gzipped files locally.
A GET request to the response_body_url returns a gzipped tar archive of JSON files.
But I would want to extract the same on Python and load it as a JSON array.
Mailchimp has shared a guide about the same, but they have used a function process_batch_archive
and have not defined what this function is or how it works.
Here is the link to the guide: Link Can anyone help me achieve the expected result? Thank you.