I am trying to retrieve the 'id' value : ad284hdnn.
I am getting the following error : TypeError: string indices must be integers
data = response.json()
print datafor key in data['result']:print key['id']
Here is the json that is returned when print the data string.
{u'meta': {u'httpStatus': u'200 - OK', u'requestId': u'12345'}, u'result': {u'username': u'[email protected]', u'firstName': u'joe', u'lastName': u'bloggs', u'accountStatus': u'active', u'id': u'ad284hdnn'}}