I'm new to python and the CC API v2 and I'm having some difficulties looping through / accessing returned JSON data. For example...
So clearly, I'm doing something wrong here.
Anyone have any sample code for handling the return data?
Thanks,
Paul ---
Hello @PaulR528,
Thank you for reaching out to Constant Contact's API Support.
I'm not an expert with python, but it looks like your for loop is iterating each line in the result as a string instead of as JSON data. Python supports JSON natively so you should be able to just call in something to do this for you.
I did a quick internet search and found a few resources. I personally liked the Hitchhikers guide to Python, but I may be biased to that reference.
The holidays have come and gone. For many seasonal businesses, this means the rush of shoppers has decreased as well. Instead of turning off the lights and waiting for spring, make your email marketi...
See Article