import json
response_data = json.loads(response.text)
result = response_data.get('result')
you need to deserialize response.text to have it as dict and then user .get with respective key. result is a key in above example. and response was the response of a url call.