Hello All:
I am fairly new to python, so
I have a small app that pulls data from REST using requests this returns a response object that I convert to JSON with this
At this point I want to do something like this
#If I do this however it runs, the problem is it seems to be printing everything out as one long string, I can;t access individual values using something like
I think its something simple but for the life of me I cant figure what
Any Ideas/ Thanks Much!
I am fairly new to python, so
I have a small app that pulls data from REST using requests this returns a response object that I convert to JSON with this
1 |
jData = restResponse.json() #Convert to JSON |
1 2 |
for value in jData.items(): print (jData[ 'alias' ]) #Throws key not found error. |
1 |
jData[ 'SomeKey' } |
Any Ideas/ Thanks Much!
1 |
print (jData.values()) |