A question about how the API returns questions.

learn more… | top users | synonyms

2
votes
0answers
28 views

Sorting and filtering is broken on /questions

Sorting error When querying /questions and sort them by creation in descending order, the creation_date drops very rapidly. I was looking for questions in the [php] tag on Stack Overflow. There are ...
2
votes
0answers
56 views

Why is there a difference between “questions” and “search” in API?

I have a query to find the number of questions tagged java from 2012-08-01 to 2013-08-01. Running this using both /questions and /search produces different results: https://api.stackexchange.com/2....
2
votes
0answers
108 views

OverflowMonthly

Screenshot / Code Snippet About OverflowMonthly is a monthly collection of the most popular questions on the Stack Exchange Network,published as ebooks(pdf and kindle format). People can now also ...
2
votes
0answers
35 views

How should I understand “timeline_type”: “votes” record in question timeline?

Take a look at the partial results of this query: { "timeline_type": "votes", "post_id": 2544061, "creation_date": 1269993600, "owner": { // omitted for brevity }, "action": "7 ...
1
vote
1answer
141 views

I can't get a response for /questions/{id} in Chrome Extension

I'm writing a Chrome Extension that queries the API. Using jQuery, I have the following code called from my background page: $.ajax({ url: 'http://api.stackoverflow.com/0.8/questions/' + id ,...
1
vote
1answer
360 views

How to get Question/Answer body in the API response using filters?

I am specifically looking to get the question/answer body back. Is it possible? I am looking through the API documentation and I'm confused about how to make a call with filters. Sample call I'm ...
1
vote
1answer
136 views

Question's title attribute is not HTML encoded

Question's title attribute is not HTML encoded. Examples: http://api.stackoverflow.com/0.8/questions/456815?body=true&answers=true title: "Problems with HTML <marquee> tag" http://api....
1
vote
1answer
163 views

JSON parsing, won't work

I'm using the Stack Apps API. Retrieving questions by tags works well, and the JSON is returned. Now I need to parse the JSON and there is something wrong with my code: $.ajax({ url: 'http://api....
1
vote
1answer
138 views

Non-verbatim search strings in py-stackexchange

Hello, I am writing a python program with py-stackexchange that takes a query and returns a list of urls to questions with that query in the title. Here's the code: #!c:/Python27/python.exe -u ...
1
vote
1answer
102 views

How to control vote count for individual user?

How do I find if user has already voted for a particular question/answer?
1
vote
2answers
54 views

Unanswered questions API does not work

The /questions/unanswered API returns the full list of questions (same as /questions).
1
vote
1answer
24 views

`last_editor` is missing but `last_edit_date` is present?

Some posts (questions or answers) have a last_edit_date but no last_editor. Does this always mean that the post was last edited by the post owner? Example: stackapps.com/a/3891/ PS: This issue ...
1
vote
1answer
91 views

Getting questions that have a specific tag or tags?

In the current API (2.1 and 2.2), how do you get questions that have a specific tag or tags? EG: All Stack Overflow questions asked in the past 2 months tagged 'ruby'? All Stack Overflow questions ...
1
vote
1answer
29 views

Questions returned by /questions/{ids}/related do not contain link properties

The API docs claim that /questions/{ids}/related return question objects, but I can't find a link property on the returned questions at all. Is there some sort of workaround to find the link for a ...
1
vote
1answer
19 views

Can I get the FAQ ordering via the API?

StackExchange sites have a feature to order by FAQ, e.g.: Screenshot This is in fact an ordering by the number of related questions and often produces very nice results. Can you get that ordering ...
1
vote
1answer
47 views

questions/id is sometimes missing an owner?

Every once in a while when I query: http://api.stackoverflow.com/1.0/questions/id I get a question back that is missing the owner field. Is this expected? I haven't seen anything about owner being ...
1
vote
0answers
31 views

Bounty question collector

I want to write a script to collate all bounty questions from all Stack Exchange sites. I have heard of Tampermonkey and I have no server access. Could someone explain how I should go about writing a ...
1
vote
0answers
80 views

A step by step approach for posting questions and answers?

I am trying to learn a step by step approach for posting questions and answers on stackoverflow.com using the Stack Exchange API. Could someone help me with this?
1
vote
0answers
43 views

How can I show recently answered questions and answers in my blog site?

I would like to showcase some of my Stack Exchange answers in my blog site. I couldn't find a relevant post on how to implement this. Also, from what I can see, in order to use the API a user needs ...
1
vote
0answers
17 views

Max score with tagged works incorrectly for /questions, correctly for /search

When I look for questions tagged java from the first week of September 2014 with a minimum score of 10 like this: /2.2/questions?fromdate=1409529600&todate=1410134400&min=10&sort=votes&...
1
vote
0answers
35 views

Procedure for posting questions using the API, v2.2?

I want use one of the Stack Exchange V2.2 API (e.g. /questions/add) to post Stack Overflow questions from my website. I didn't find any app which is currently using the API for posting questions. As ...
1
vote
1answer
146 views

C# Stackexchange Questions API [duplicate]

I need to build an web application C# and below is what I'm stuck with Can I use Stack Exchange's API with Key? Do they have a "hello world" key can be used for learning purpose. I wish to get the ...
1
vote
0answers
85 views

400 when posting a question to the Stackexchange API

I am adding a question via the API and I manage to create a preview of my question (See JSON extract below). { "has_more" = 0; items = ( { "creation_date" = ...
1
vote
1answer
32 views

I could POST a question but it does not have a `question_id` and it does not show up in my account

I could successfully create a question for my StackApp and I got this response (NSDictionary output): { "has_more" = 0; items = ( { "creation_date" = ...
1
vote
0answers
193 views

Real time questions for any Stack Exchange site

Screenshot / Code Snippet About This script provides real time updates and filtering of active questions for all SE sites. Shows active questions in real time Filter by favorite tags Filter by ...
1
vote
1answer
104 views

Looking for Bookmarklet to Create a Question

I want to build a small bookmarklet which can take the selected text and send it to Stack Overflow to create a new post containing the selected text. Also get a unique id or something that helps to ...
0
votes
1answer
40 views

Are the “body”, “comments” and “answers” parameters supported in the API version 2.x?

Earlier with version 1.x, the parameters: body, comments and answers etc. were available. But these don't seem to be supported with API version 2.x. Are these parameters not supported in new API? Are ...
0
votes
1answer
88 views

Questions with accepted answers

I know that you could technically loop through the answers returned when you ask for /questions/{id} to see if an answer has been accepted, but it would be AWESOME if there was a top level boolean ...
0
votes
1answer
63 views

How do I find all questions/answers per a tag using .Net?

I want to get the list of questions based on tag name using .Net. can any one please let me know how to achieve this using .Net with API Version 2.2?
0
votes
1answer
47 views

How to get all questions with a specific tag between certain dates

I would like to get all questions created and tagged with tag "R" between 2 dates. I'm using parameters: tagged = R, sort = creation, fromdate and todate set to appropriate dates and site = ...
0
votes
2answers
80 views

Ajax get questions by tags ERROR

i'm trying getting questions by tags. this is my simple code and i'm running this from my http://localhost: <script type="text/javascript"> $(function(){ $.ajax({ url:'http://api....
0
votes
1answer
36 views

How to get question body (markdown) in the API response using filters?

Using withbody filter as suggested in this thread (How to get Question/Answer body in the API response using filters?) returns body as HTML. How do I get the original markdown?
0
votes
1answer
197 views

AnswerMachine (Placeholder)

About I plan on developing a client that simplifies asking Stack Overflow questions using a desktop application. Platform OS X Code Language: Objective-C Screenshot
0
votes
1answer
40 views

Can I search for the most favoured questions via the API

This came to me after reading this post. I had a look at the API page and I wanted to find a way to search for the most Favoured questions. Is there a way to do this? I tried to manipulate the URL ...
0
votes
1answer
77 views

How to sort by the newest question?

I'm trying to retrieve the latest questions posted in a particular tag. What's the equivalent for: http://stackoverflow.com/questions/tagged/php?sort=newest&pagesize=15 I see that v1.1 API is ...
0
votes
1answer
53 views

Bug - Getting partial results for questions

When processing http://api.stackoverflow.com/1.0/questions/1156985 I only get partial results. Many of the missing fields are mandatory fields, including the owner of the question.
0
votes
1answer
46 views

The /questions/{id}/timeline route isn't working.

I'm getting a response code 500 for the /questions/{id}/timeline route. I've tried it in Firefox and by fetching a response in Java. Example URL: http://api.stackoverflow.com/0.8/questions/59294/...
0
votes
0answers
37 views

Script to visualize time to first answer

I was inspired by boB Rudis' tweet about time to first answer. I thought it would be a good idea to do the same thing but in the r language. And, for ten popular languages to have something to ...
0
votes
0answers
24 views

AskOverflow - SMS Client For StackOverflow (placeholder) [duplicate]

About SMS for receiving/posting questions on Stack Overflow Platform What platform or browser is your app for? Web based Contact Who created this app? Who are the key contributors? How do we get ...
0
votes
0answers
65 views

List the closed questions on a site

This native application retrieves the closed questions from a site, excluding duplicates, migrations, deleted questions, and recently closed questions. The list is presented in a form that can be ...
0
votes
0answers
74 views

Stackoverflow app that can popup question with certain tag as they asked in realtime

I am in search of kind of app that can notify about new question in real time as they are posted. I can create such app with the api provided but i don't want to do that if that is already being done ...
-1
votes
1answer
31 views

Why API Version 2.2 returns null always while getting questions list?

The below 2 codes returns null always. How to get the list of questions using API Version 2.2? Question thisPost = context.Official .StackApps .Questions.ById(1) .WithComments(true) .First(); var ...
-1
votes
0answers
19 views

How to use the stack API to get the questions which are posted in Stack Overflow? [duplicate]

I want get a questions which are posted for particular tag. how to get the questions using API?