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 |
Tools (scripts/apps/libraries) that help with answers, or issues with the API handling of answers
1
vote
Accepted
Ideas for dealing with this pagination problem?
Pulls a pagesize number of answers, page after page, checking the presence of the given accepted_answer_id
def get_accepted_answer_page(question_id, answer_id, sort, pagesize):
page = 1
while(True … Pulls all the answers ids using the fastest/lightest API method (questions/id/answers, pagesize=100, body=false..), get the index of the accepted_answer_id on this list and finally find the page dividing …
6
votes
1
answer
226
views
Why these questions do not have a title?
answer_count": 0,
"favorite_count": 0,
"question_timeline_url": "/questions/74/timeline",
"question_comments_url": "/questions/74/comments",
"question_answers_url": "/questions/74/answers … answer_count": 0,
"favorite_count": 0,
"question_timeline_url": "/questions/2733/timeline",
"question_comments_url": "/questions/2733/comments",
"question_answers_url": "/questions/2733/answers …