All Questions
300 questions
6
votes
2
answers
360
views
How to get a User's picture (Avatar)
I've seen a couple of Stack Apps that have the actual picture for the user profile. Is that coming from the API, and if so how? If not I'm assuming they are using some screen-scrapping to get that ...
1
vote
0
answers
70
views
Would it be a problem if my server polls the API every minute or so about 1 of my questions on my list?
I know that officially identical requests cannot be done in more than one minute.
But would it be a problem if I had a server which had a list of question IDs (say 10 per user, so reasonable max 10,...
2
votes
0
answers
32
views
FAQ's URL for any SE Site?
Since I cannot find anything relevant in the API (I guess /stats endpoint would be most relevant):
Is it safe to assume that every SE Site has its FAQ at location: site_url/faq ?
2
votes
1
answer
239
views
Using the API directly from JavaScript
Is there any way I can use the API directly from JavaScript without any Server side proxy? I know of the inter-domain restrictions, but can we do it somehow in case of facebook API right?
0
votes
1
answer
46
views
Sort options explained
I have read the doc here but I'm quite confusing because I still don't understand the semantic behind each options. Would you like to detail the different options ?
activity (default)
votes
creation
...
3
votes
1
answer
320
views
API Time zone difference problem
I am writing a .NET application with the Stack Exchange API (using the Stacky library) and I am using it to ask the server for some questions that occured in the last hour. However, I and the server ...
2
votes
1
answer
92
views
Better way to find activity changes in terms of API Usage
I am coding an application that notifies events in Stack Exchange accounts. I want to notify about badges/reputation changes, and also I would like to notify whenever a new answer or comment is posted ...
9
votes
1
answer
4k
views
List all tags in use on stackoverflow
I am trying to list all tags used on stackoverflow here: http://api.stackoverflow.com/1.1/usage/methods/tags and I cannot seem to list all.
How do I do it?.
12
votes
2
answers
1k
views
Why does this Stack Overflow API query return binary data?
The Stack Overflow API query
http://api.stackoverflow.com/1.1/search?tagged=javascript&intitle=%3Cdiv%3E
returns what appears to be binary data:
���I�%&/m�{J�J��t��$ؐ@�������iG#)�*��eVe]...
0
votes
1
answer
68
views
Total number of superuser users...
Hi all,
I am probably doing something wrong but there seems to be a discrepancy between the data-explorer and the API. For instance,
This query has a total of 48048.
http://api.superuser.com/1.0/...
5
votes
2
answers
150
views
Prefered way to retrieve all search results
I'm trying to figure out a reliable way to retrieve all the results from a search query (in subsequent pages. My use case includes cases with more than 100 results (the maximum page size).
Looking at ...
1
vote
1
answer
61
views
Definitive on timeline_type?
Hi all,
I am trying to get a definitive on what timeline_type actually means...
I've looked at: https://stackapps.com/search?q=timeline_type but to no avail.
The new documentation doesn't list ...
3
votes
1
answer
80
views
Throttling Question
Hey all,
I keep getting kicked out of the API.
Is throttling set to 30 requests per 5 seconds?
j
3
votes
1
answer
78
views
How many ids is 'too many'?
This answer mentions limit on amount of ids included in queries like /users/{id}/mentioned, but I can't find actual amount mentioned anywhere.
Now, I could run binary search and find out, but I ...
3
votes
1
answer
178
views
Getting Question data using stack.PHP fails after a certain number of requests
I am trying to build an RSS feed that includes any/all questions that I have answered, and been accepted as the correct answer.
I am running into an issue where I'm sending too many requests and ...
30
votes
1
answer
1k
views
Announcing API version 1.1 and Roadmap
As has been announced on the blog, we're rolling out a minor revision of our existing read-only API.
While the blog post gives some high level details, I figured [app] developers would appreciate some ...
4
votes
1
answer
69
views
API 'search' method with 'min' parameter
If you search for questions posted on time 1296897085 or later (by specifying sort=creation and min=1296897085), it may still return questions posted before that date:
http://api.stackoverflow.com/1....
6
votes
1
answer
112
views
API 'search' method with 'tagged' parameter
From the docs for tagged paremeter:
List of tags delimited by semi-colons of which at least one must be on a question
Yet, when I execute this query (http://api.stackoverflow.com/1.0/search?tagged=...
1
vote
1
answer
181
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....
9
votes
3
answers
235
views
Roadmap - any update?
So now it's 2011 and we should be getting some API updates. As a company you must have some kind of plan. So can you either say the API is never going to be updated or give a time frame to at least a ...
4
votes
1
answer
312
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 :
{
"...
5
votes
1
answer
734
views
Is it possible to authenticate a user through Stack Overflow API?
Is it possible to use the Stack Overflow API to authenticate a given user identity such as with Facebook, Twitter, or OpenID?
If it's possible: Can you tell me the method (s) that make this happen?
2
votes
1
answer
216
views
Retrieving JSON via the API using Ajax does not work
I tried to retrieve information of my user profile on Stack Overflow via the API using Ajax/jQuery. But it does not work for me. The result of the request is always empty.
<html>
<...
0
votes
1
answer
88
views
Coding error at open URL
Hi,
I have the following method to open a URL API
String c="";
URL direccionURL;
try {
direccionURL = new URL("http://api.stackoverflow.com/1.0/users/523725");
BufferedReader in = new ...
1
vote
2
answers
299
views
Is there an SO API which can fetch all Questions & Answers for a particluar Keywords
I am looking for an API which helps in fetching all the Questions & Answers from SO and other Stack Exchange sites only on a particular "keyword". Later using XML RPC these questions will be ...
1
vote
1
answer
173
views
How to search all Questions & Answers on specific keyword with PHPstack library?
I am trying to build a page specific to one keyword which should pull all the questions and their respective answers from Stack overflow. I tried phpstack 1.1.1, but no luck. I saw a
function search(...
3
votes
1
answer
182
views
Will the new traffic measuring formula be available via the API as well?
From this MSO answer:
stackexchange.com/sites was just updated today to use a new formula for traffic. Area 51 is still using the old formula, but will be updated soon to use the new formula.
...
3
votes
2
answers
680
views
Silverlight download JSON from API fails
I cant seem to download the JSON for the questions on SO, I cant get the HTML and JSON from other addresses, but the SO API always returns jibberish.
Here is my code:
public void ...
5
votes
2
answers
441
views
Is Stack API blocking Yahoo YQL services?
I was hoping to create OpenTable definitions for Stack services to use YQL, Yahoo's SQL to the web thing. It would have been interesting for experimenting, but also for mashups.
Unfortunately, it ...
5
votes
1
answer
169
views
What timezone is used in the API?
When a timestamp is used, for example the fromdate parameter in /questions, what timezone are dates in? Is the number supposed to be in milliseconds or in seconds?
To get the current time to pass as ...
2
votes
5
answers
4k
views
Get user data using curb/Curl in Ruby
I am trying to get user data in my Rails app.
I am doing this:
url_so = "http://api.stackoverflow.com/1.0/users/231917?type=jsontext"
curl = Curl::Easy.new(url_so)
curl.perform
data_obj = ...
3
votes
2
answers
258
views
Is there an api to post questions without using the websites interface?
I wanted to post questions after a proper user authentication explained here. Is there anyway I can do this?
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 ...
2
votes
1
answer
145
views
what is the url for a *.stackexchange site's api?
from my understanding, the documentation suggests that we can use the api against any current *.stackexchange website
what would be the url for the api for one of these ? e.g. mysite.stackexchange....
4
votes
2
answers
2k
views
What is the throttle interval or threshold?
Resolution:
I have confirmed that a constant interval of 170 ms will run without error.
// 30 per 5 sec = 6 per sec = interval 166.6 ms
Soapi.RequestQueue.setInterval(170);
Soapi....
15
votes
4
answers
726
views
Version 1.0 released 9th of July
For a lot of us, that would be next Friday.
At some point - most likely after noon PST - version 0.9 of the API will be replaced with the final 1.0 release.
There are no expected interface changes ...
4
votes
1
answer
357
views
Strange encoding for JSON output
I'm trying to create an R API. Here's some basic code for processing JSON:
library(rjson)
fromJSON(readLines("http://api.stackoverflow.com/0.9/stats/", warn=F))
As I look into this, the output of ...
9
votes
1
answer
1k
views
How to see which users upvoted a question?
I assume this information is tracked, since StackOverflow shows me the questions I have upvoted (when going to their question page, I can undo the upvote). I couldn't find any api call that gives this ...
0
votes
1
answer
352
views
What's the best way to mashup a social network with StackOverflow?
I’m experimenting with an integration project where I mashup a user’s LinkedIn connections and StackOverflow activity. Are there any relevant APIs on StackOverflow that could be used to integrate ...
5
votes
0
answers
541
views
Platforms Supported by the API and Response Compression
What platforms are supported for use with the Stack Exchange API?
In short, anything that can make a GET request to the API servers and supports JSON/JSONP & GZIP. (JavaScript, Python, PHP, Java, ...
7
votes
0
answers
119
views
API Parameters: Consolidated Observations
This wiki question is meant to be a central location for observations and suggestions in the interest of shaping the API meta data.
Perhaps items can be removed when accepted and resolved as ...
2
votes
1
answer
49
views
consistency for array parameters
It would simplify the api and consumption there of if all parameters that accept multiple items used a common delimiter.
We have semicolon and space that I know of so far.
Eliminating space as a ...
3
votes
1
answer
2k
views
SIlverlight 3 ClientHttp vs BrowserHttp stack: no cross domain policy means no gzip for Silverlight
I notice that even if I send accept-encoding=gzip the response does not seem to be compressed. ( it is late and i was conflating 'accept' with 'accept-encoding')
Should we expect, in the 1.0 ...
2
votes
2
answers
105
views
Why does Stats Return a Statistics Array
Why does the stats API Call return an Array instead of just an object?
Example Response:
{
"statistics": [
{
"total_questions": 723903,
"total_unanswered": 114097,
"...
1
vote
3
answers
222
views
What is the best way to provide support for an unknowable number of StackExchange sites?
I just wrote an app for Chrome extensions and received a request to make it cross-StackExchange compatible. If there's eventually going to be more sites than just the few listed and I don't really ...
1
vote
3
answers
150
views
API not returning anything near the actual website
The API /questions page is not returning anything like the list of questions on the actual SO site.
This is the first question of the 0.8/questions
{
"total": 705769,
"page": 1,
"pagesize": 30,...
1
vote
1
answer
68
views
Is the question_id monotonically increasing?
Just wondering:
Does the question_id monotonically increase for every new question?
Is the question_id unique globally for a deployed app or is it unique in some sub-domain?
Is there any relation ...
3
votes
2
answers
449
views
What is the correct way to get the stackoverflow.com URL for an answer via the API?
A while ago I made a little "Recently answered on Stack Overflow" sidebar widget for my homepage. Currently this works by filtering answers out of the user feed however I thought I'd update it to make ...
6
votes
2
answers
435
views
Odd String Format Result from API Call
I'm just getting started messing around with the SO API. I haven't worked with JSON before, and I am getting a strange result from a basic call (No API Key).
WebClient stackClient = new WebClient();
...
4
votes
2
answers
307
views
When does a rate-limit day start and end?
After reading the docs/faqs, I couldn't help but wonder...
What exactly is a day?
When does it start?
When does it end?
What timezone are you using?
In other words, when my app runs out of requests ...