Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Accompanies [app]s written in, or [library]s meant to be used from, the Python programming language
1
vote
Py-StackExchange: An API wrapper for Python
Feature Request
A little feature I think could come in handy.
Right now, there is no way to get the url of a Question/Answer from the Answer object (I'm talking about the actual URL on the site, e.g …
1
vote
Py-StackExchange: An API wrapper for Python
Another quick question:
Is there any way to get a user's answers without going through the user object? I want to save a fetch of a user's answers, and since I already have his id, I could go to: htt …
8
votes
Py-StackExchange: An API wrapper for Python
Edit:
My problem below has been "solved", and it's a problem with the fact that I'm getting back gzip-compressed data from stackapps. See the SO Answer. I'm still unsure why this happens only on my …
5
votes
Py-StackExchange: An API wrapper for Python
OK, I'm probably missing the obvious, but how do I get the body of an answer?
For example, in your code snippet:
>>> so = stackexchange.Site('api.stackoverflow.com')
>>> me = so.user(41981)
>>> me.a …
3
votes
Py-StackExchange: An API wrapper for Python
Quick bug:
Doing this:
anss = so.answers(user_id=175645, pagesize=100, body=True)
ans1 = anss[0]
ans1.owner
Produces this stacktrace:
Traceback (most recent call last):
File "<pyshell#46>", lin …