Questions tagged [questions]
Tools that help with questions, or issues with the API handling of questions.
144
questions
4
votes
1
answer
888
views
Get questions with body and answers
How can I get the latest 30 questions with body and answers using the api?
And then, I want to get only first most voted 3 answers for each question. Is this possible with only one request?
To get ...
2
votes
1
answer
162
views
desktop alert with notificatons whenever a favourite tagged question will be asked
I am using Firefox browser and Ubuntu13.04. I am looking for an app,which will create a desktop alert with sounds,whenever any question included with my listed tags in my favourite list will be asked ...
12
votes
0
answers
274
views
Auto-Add A Comment When Closing
About
Automatically adds a comment when closing a question, with the text taken directly from the close reason you chose, so that the OP can see why their question may be being downvoted, and improve ...
10
votes
1
answer
4k
views
Get questions content from StackOverflow API
I need to get the question content from StackOverflow site.
I already built the functions that parse the HTML for a question, and return me the question content.
But, I found that there is an API, ...
1
vote
1
answer
124
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
1
answer
37
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
1
answer
199
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....
0
votes
2
answers
112
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....
2
votes
1
answer
165
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 ...
3
votes
1
answer
2k
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 ...
2
votes
0
answers
124
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
1
answer
53
views
Error retrieving question using a filter that includes question.notice
I have created a filter to include the question.notice field. It seems to be OK as returned by
https://api.stackexchange.com/2.1/filters/-9xc1l%2Au-JEsf_Q
Then if I want to fetch this question using ...
3
votes
1
answer
101
views
Hot questions (network)
Would it be possible to get an API method for the stackexchange hot questions list?
Something like an official version of this: http://stackexchange.com/genuwine
Second to this would be knowing how ...
1
vote
1
answer
25
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 ...
2
votes
1
answer
28
views
Sort ranges on /questions/unanswered is broken
The following API request should return all unanswered questions with a score of at least 30:
http://api.stackapps.com/1.1/questions/unanswered?sort=votes&min=30
However, the response consists ...
3
votes
2
answers
89
views
Why does api.stackoverflow.com allow resource calls that accept vectorized or multiple IDs?
http://api.stackoverflow.com/1.1/usage/methods/questions-by-ids
What is the motivation for building api.stackoverflow.com in a manner that accepts multiple IDs in a resource call?
For example, I can ...
25
votes
1
answer
498
views
OBSOLETE - Duplicate Question Suggestion Boxes
Screenshot
About
Duplicate Question Suggestion Boxes is a UserScript for any Stack Exchange site that makes it extremely simple to check for duplicate questions for a post. In the left side it shows ...
7
votes
0
answers
268
views
Format a list of questions
The following quickie command line application formats a list of questions obtained from search results.
Requirements:
Perl, JSON
Usage:
Retrieve a list of questions from the API (from the /...
3
votes
0
answers
95
views
Hide the tag-info popup
This script hides the tag info popup. In response to Why are there popups over tags in the question page?.
Install
View Source
3
votes
1
answer
49
views
Elections nominations posts not showing up in API
I know that it's probably unintended that the Primary voting scores were leaked by the API, but I think if you're going to remove it, then at least make it official, so I won't have to wonder if it's ...
1
vote
1
answer
175
views
Non-verbatim search strings in py-stackexchange
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
import sys
sys....
7
votes
0
answers
252
views
StackBot - Making it easy to post StackExchange questions to Twitter
About
StackBot is a small C# application that is designed to post interesting questions to a Twitter account at specified intervals.
License
StackBot is released under the Ms-PL license.
Download
...
4
votes
1
answer
303
views
Retrieving list of c# questions
I am trying to retrieve list of C# questions using http://api.stackoverflow.com/1.0/questions?title=true&tagged="c#".
But I get JSON response related to c questions.
Response :
{
"...
6
votes
1
answer
222
views
Why these questions do not have a title?
Hitting the following /questions route:
http://api.stackoverflow.com/1.0/questions/74?pagesize=1&page=1
the endpoint returns this JSON data:
{
"total": 1,
"page": 1,
"pagesize": 1,
"...
3
votes
1
answer
127
views
How to check if a given question is changed
What is the fastest way to check if a question is changed using the API calls?
For my purpose (a cache), a question is considered changed if:
A new comment is added to the question or to any of its ...
2
votes
1
answer
203
views
Add 'linked' question data to the API
SE sites show linked questions on the right column.
It would be great to add an array of ids to the question response called 'linked'.
Example Linked Question
0
votes
1
answer
63
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.
1
vote
1
answer
53
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 ...
8
votes
0
answers
577
views
List of example questions
Since it's hard to find examples of questions with various attributes, maybe we can turn this into a reference?
Here's the problem: I want to try out the locked_date attribute in one of my apps, but ...
2
votes
1
answer
79
views
Oddity with migration data from questions
Take a look at this question on SuperUser. Apparently, it was migrated from ServerFault, and was originally asked by user 3d1l. However, now look at the API result: http://api.superuser.com/1.0/...
1
vote
1
answer
106
views
How to control vote count for individual user?
How do I find if user has already voted for a particular question/answer?
2
votes
3
answers
121
views
Ideas for dealing with this pagination problem?
Okay, here is the problem:
Certain questions contain more than one page's worth of answers. Given a sort method and an answer id, how can we figure out which page the answer is on?
Any suggestions ...
7
votes
1
answer
180
views
Are apps created from the CC data dump ok to add?
I've created a few apps in the past using the CC data dumps that I can't move over to the API at this point. It seems like the stackapps site is meant to be the place to find apps for Stack Exchange ...
0
votes
1
answer
52
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/...
3
votes
1
answer
121
views
Problem getting a users questions within a date range
I'm having a problem returning a list of users questions within a given timespan. I understand that the documentation ( http://api.stackoverflow.com/0.8/help/method?method=users/{id}/questions ) that ...
1
vote
1
answer
242
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
0
answers
53
views
OBSOLETE - How should I understand "timeline_type": "votes" record in question timeline? [closed]
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 ...
6
votes
1
answer
110
views
The tagged parameter does not work with multiple tags
Take these two API calls:
http://api.stackoverflow.com/0.8/questions?tagged=php;rant
http://api.stackoverflow.com/0.8/questions/tagged/php;rant
A couple of problems:
Shouldn't they return the same ...
3
votes
1
answer
98
views
Are we going to get a Protected Date field in Question responses?
Now that questions can be marked protected, will this info be available via the API?
0
votes
1
answer
111
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 ...
4
votes
0
answers
272
views
Newest unaswered by tags
Screenshot
About
Often, when I was looking for questions to answer on StackOverflow, I would go through newest unanswered questions and look for those that had one of my favorite tags. The “my tags” ...
1
vote
1
answer
175
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
2
answers
61
views
Unanswered questions API does not work
The /questions/unanswered API returns the full list of questions (same as /questions).
5
votes
1
answer
127
views
Getting questions with multiple tags
http://api.stackoverflow.com/0.8/questions/tagged/gwt,google-app-engine returns nothing, but https://stackoverflow.com/questions/tagged/gwt+google-app-engine does have plenty of entries. And http://...