Your example iterates the the json at the top level like this:
for record in resp.json().records:
print "Call type: " + record.type
I am getting an error that the object is not iterable if I try and iterate a nested key with this:
for callfrom in record.from:
How do I iterate the nested keys?