Two of the demo scripts currently do not work because there is no 'answers'
field in the json :(there is no 'answers'
field in the json :(
It might be an ugly workaround, but for now this diff does the trick:
badp@delta:~/Py-StackExchange$ git diff 0a5c60f71310757a4c1de6547cf113c7d6834e85
diff --git a/stackexchange.py b/stackexchange.py
index 959cf3e..4a17b10 100644
--- a/stackexchange.py
+++ b/stackexchange.py
@@ -492,10 +492,12 @@ unlike on the actual site, you will receive an error rathe
def questions(self, ids, **kw):
"""Retrieves a set of the comments with the IDs specified in the
+ kw["answers"] = "true"
return self._get(Question, ids, 'questions', kw)
def recent_questions(self, **kw):
"""Returns the set of the most recent questions on the site, by
+ kw["answers"] = "true"
return self.build('questions', Question, 'questions', kw)
def users_with_badge(self, bid, **kw):
However, this fails to take account of the good points behind the changethe good points behind the change.