All Questions
539 questions
2
votes
1
answer
81
views
Any news of more write APIs?
It's been a while since I was last here. Is there any news on further updates to the API? (I'm specifically thinking about adding more write methods.)
4
votes
0
answers
91
views
How can I get unread messages for inbox testing? [duplicate]
I use /users/{id}/inbox/unread method to get unread items in a user's inbox. But how could I test it if I have no unread items in my inbox?
How can I get/generate unread messages for testing?
P.S. ...
11
votes
0
answers
144
views
The field body_markdown is not returned for comments [duplicate]
Using the method questions-by-ids to get the comments on a particular question, I do not get body_markdown returned despite it being selected in the filter.
Here is the test query to reproduce the ...
3
votes
1
answer
86
views
How to track the open/closed status over the history of a question?
I'd like to find out the times in the history of a question when it was closed and reopened. How can I do that using API v2?
The closest relevant call I have found is /questions/{ids}/timeline, ...
2
votes
0
answers
27
views
/revisions/{ids} returns results where revision_number is always 1
As of now, Code Review Question 59285 has three revisions, excluding the original question.
If I fetch those three revisions using the API, I see that all of them have revision_number set to 1.
That'...
3
votes
1
answer
221
views
Do I need Stack Overflow's permission to launch my iOS app for Stack Overflow?
I have a Stack Overflow app for iOS that doesn't use the API. It just uses search and web (scraping?) to display questions.
Do I need to get approval the from Stack Overflow team?
3
votes
1
answer
81
views
Getting display name of the site on which question is located
When using the /questions method to retrieve a particular question, I'd like to also get the display name of the site on which the question is located (e.g., User Experience). At present, the API does ...
3
votes
4
answers
283
views
Is it really worth to (implicitly) discourage documentation of API/library usage nowadays already?
Update:
Kevin provided an answer, which, while adding something of value to the three related questions together (by naming the originating concern eventually), actually does not apply to the ...
6
votes
1
answer
161
views
StackExchange API /sites/ does not return all the sites
I am working on one application that produces timeline of user on every site of StackExchange.. We have some users on Sharepoint.stackexchange.com..
Since I want list of all the sites, I am trying to ...
2
votes
1
answer
253
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 ...
8
votes
0
answers
583
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
0
answers
27
views
Post Score vs. Age App?
Has anyone put together a script to generate the score vs. age of a question?
If this script were run on all questions in a particular tag, the curve generated by taking the average over a time ...
1
vote
0
answers
518
views
OAuth login fails for Stack Exchange and Facebook, but not Google
I'm integrating with Stack Exchange API on iOS 6 & 7. To authenticate, I load up a UIWebView with the OAuth page. Google login works well, but Stack Exchange and Facebook do not. Are these ...
5
votes
0
answers
275
views
Ruby library for Stack Exchange API
About
I have written a Ruby library for accessing Stack Exchange questions, comments, badges and users. I am adding more methods.
Repository
https://github.com/raysrashmi/ruby-stackoverflow
...
2
votes
3
answers
76
views
What is the "inname" parameter to the /tags 2.0 API?
I'm just playing with the new 2.0 API and in /tags there is a field inname that I can't find any description or documentation for.
What does it do? Is it like the old filter parameter on the old API?
...
5
votes
5
answers
596
views
Java wrapper for Stack Exchange
I am interested in building an Android or Java ME application. Is there a Java wrapper?
0
votes
1
answer
66
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 ...
5
votes
1
answer
117
views
What is "accept_rate" in the Stack Exchange API?
when I call the /users path, like:
/docs/users-by-ids#&ids=1&site=stackoverflow
In the reply, I get a field called accept_rate.
What is that field about?
1
vote
1
answer
48
views
Authentication Statistics are the same for all apps
I know the stats are new, I'm not sure if they are still in development. But they are identical for the 3 apps I have registered, given that the app's id is in the URL of the stats page, I guess the ...
119
votes
6
answers
12k
views
Stacky - A .NET client library (Full support for API v2.0)
Stacky - A .NET Client Library
The same great library now supports the 2.0 API!
https://bitbucket.org/lfoust/stacky
Sample Code
IUrlClient urlClient = new UrlClient();
IProtocol protocol = new ...
1
vote
1
answer
80
views
`type=jsontext` JSON results for help pages
It would greatly simplify machine reading if we could apply type=jsontext to API help pages, including the index.
Update: Here's an unofficial JSON schema for v1.x.
2
votes
1
answer
117
views
Indicate in documentation whether "numbers" can be non-integral
"number" is an very ambiguous term. Integral or non-integral?
For developers in more dynamically-typed languages like JavaScript, this is not an issue; but when using more statically-typed languages ...
0
votes
1
answer
98
views
/questions/tagged/{tags} - tags param clarification
This API method has been removed as of Jul 16 '10. The original question is preserved below for posterity.
It is not clear what a "list" of {tags} looks like.
Does this parameter follow the ...
1
vote
1
answer
83
views
Position required parameters at the top of help pages
The required id parameter for ...a lot of API routes... is now placed at the bottom of the page.
It makes more sense to place required parameters at the top of the page with a slight separation, like ...
2
votes
2
answers
292
views
How to set the width of an image in the body of a question?
I used the questions/{ids}/edit to add a hyperlinked image at the end of a question. It works if I use the default dimensions of the image. However, if I specify the width using width="320" or style="...
10
votes
2
answers
551
views
Serel: A Ruby Library with full support for API 2.0
Getting Started?
Visit http://serel.tom.is for a whirlwind tour of the library.
although it is still very much a tour in progress
About
Serel is Stack Exchange RElational Algebra, a fully ...
5
votes
1
answer
78
views
API documentation pages match some site names incorrectly
The bug is not in the API itself, but in the pages documenting its methods. To reproduce, follow the link http://api.stackexchange.com/docs/info#filter=default&site=math and observe that the page ...
2
votes
0
answers
64
views
Version used by StackExchange API if version is not specified in api calls
I have used some StackExchange API calls in my chrome extension - StackEye. With the release of API 2.0, I want to update the api calls so I wanted to know
New things available in 2.0+ which were ...
2
votes
0
answers
109
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" = ...
3
votes
0
answers
52
views
How to get network profile username?
I was thinking I could just get the username from the response of /users/{ids}/associated (where {ids} is the not-site-specific id). But then realised that it returns only network_user (even though we ...
4
votes
0
answers
129
views
Python library 2.2 API Wrapper?
Is there a Python library that encompasses the new functionality in the 2.2 API?
I've seen this question and this question, and the comments indicating that libraries were being created and updated ...
1
vote
1
answer
89
views
/users/{id}/badges id parameter clarification
On /users/{id}/badges, the description of the id parameter
a semicolon delimited list of user ids
diverges from the inferred standard for multi-valued parameters:
A single primary key identifier or ...
2
votes
0
answers
68
views
Anybody up for terminal frontends
Would anyone like to program some sort of terminal app which would be connected to a SE site?
You could query with it questions, and get notified when someone answers. Likewise one could browse ...
6
votes
1
answer
1k
views
Is there a limit on the data that is returned from stackoverflow API calls?
I have the following query, which is identical to the example they give in the documentation:
http://api.stackexchange.com/2.1/questions?fromdate=1391756400&order=desc&site=stackoverflow&...
1
vote
1
answer
171
views
why is badge counts a nested structure?
conclusion
a very short dialog with systempunotout showed me that I could look at this another way that makes a nested structure make perfect sense.
the q remains for reference.
This should be ...
2
votes
1
answer
118
views
AttributeError with Py-StackExchange
i'm trying to execute this python script :
#! /usr/bin/python
import stackexchange
so = stackexchange.Site(stackexchange.StackOverflow)
my_favourite_guy = so.user(41981)
print my_favourite_guy....
1
vote
1
answer
86
views
What is the private_info scope for?
In the docs it says you can pass private_info for scope when authenticating a user.
What does this allow you to access, that you couldn't otherwise?
3
votes
0
answers
80
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....
31
votes
6
answers
2k
views
Draft Specification for API v2.0
We've started working on the next version of the Stack Exchange API.
The current draft specification is available, and we'd like to hear your feedback!
The headlining feature for this release is ...
17
votes
2
answers
368
views
API Endpoint Changes Coming In Version 2.0
As work has progressed on the upcoming second version of our API, we've come to a bit of an impasse that's going to force a semi-radical change.
Here's the root of the issue:
once you've gotten an ...
4
votes
8
answers
4k
views
How to format reputation numbers similar to Stack Exchange sites
UPDATE
For JavaScript, see CMS's implementation below. It is much more elegant than the one I provide in the body of this Q.
// formats a number similar to the way stack exchange sites
// ...
2
votes
3
answers
163
views
Getting required upvotes for apps tab is too dependant on release date
I have recently released a chrome extension and it is at present getting about 3 upvotes a week. Not as many as hoped, but still not bad. However, this may not be enough to get it into the apps tab (...
7
votes
3
answers
579
views
Are there any high resolution/scalable (SVG) icons or images available?
It would be nice to give community-developed apps a familiar look and feel. With that in mind, do the SE sites have any high-resolution or scalable icons and images that we can use?
I'm not really ...
1
vote
1
answer
105
views
Can the no-key request limit be increased to 1000 for a certain amount of time?
Can the no-API-key request limit be increased to 1000 for a certain amount of time - maybe 1-2 weeks?
35
votes
0
answers
2k
views
List of API client libraries grouped by programming language
This question serves as an organized reference of client libraries available for the Stack Exchange API. This is intended to be an all-inclusive list of libraries, so if you develop a library, feel ...
6
votes
0
answers
239
views
localhost API key receives Curl error when retrieving access token
I have registered two apps -- one that will redirect to my website and the other that will redirect to a localhost server that I have running so I don't have to test my code on the site. I have ...
2
votes
1
answer
82
views
Advanced search API not returning data for "phonegap" tag
I am trying to gather results from the API for the tag phonegap but the API is not returning any data.
I am using /search/advanced and get nothing back for November:
{
"items": [],
"...
4
votes
0
answers
104
views
Implicit OAuth Flow stopped working. Redirect happening to a non existent URL [duplicate]
The following URL is first hit when a user clicks on Login:
https://stackexchange.com/oauth/dialog?client_id=202&redirect_uri=https%3a%2f%2fstackexchange.com%2foauth%2flogin_success&scope=...
2
votes
1
answer
57
views
Downloading data en masse
I'm currently in the early stages of developing an Emacs major mode for the Stack Exchange Network.
I'm a little torn on how to set up the use of the API within the mode.
Is there a way to download ...
1
vote
0
answers
193
views
Any CSS ninjas want to help me style my sample app?
I really am horrible at CSS. I am making a SO clone example application that will eventually consume as much of the StackOverflow.Net API as possible. Although it is a clone, I am not expecting it to ...