I am very new to Python and parsing data.
I can pull an external JSON feed into a Python dictionary and iterate over the dictionary.
for r in results:
You can use the built in function hasattr
key='key_name' # or loop your keys if hasattr(e, key): print(e[key]) else: print('No key for %s' % key)