tropo / tropo-webapi-python

A set of Python classes for working with the Tropo WebAPI
MIT License
85 stars 33 forks source link

Extracting out of Result returns error #20

Closed JustinDupree closed 13 years ago

JustinDupree commented 13 years ago

Trying to extract something out of the result JSON, this is the app:

http://gist.github.com/64cd670c69d49f2b40a1

This is a sample of the result JSON:

https://www.tropo.com/docs/webapi/result.htm

I get either 'Result' object has no attribute 'actions' or 'Result' object is unsubscriptable, depending on which of the two options I try.

JustinDupree commented 13 years ago

Same as my other issue, it's closed but I don't have an answer?

egilchri commented 13 years ago

Hi Justin,

 Sorry. I thought I answered this one, but if I did, I put the answer in the wrong place. The test case for this fixed issues  is at https://github.com/tropo/tropo-webapi-python/blob/master/samples/gh-20-test_ask.py. I updated the API, and added a new getInterpretation() method, and provided an example of it's use.
JustinDupree commented 13 years ago

Awesome, I'll get to testing on my end now.

JustinDupree commented 13 years ago

All good to go here, too.