This tag is for questions about the Stack Exchange API version 2.

learn more… | top users | synonyms (1)

4
votes
1answer
33 views

In API 2.0, what happened to questions sorted by “featured?”

I was looking for a way to grab the list of "featured" questions via the API, and I stumbled across several answers that all point to the same solution: Shouldn't there be a separate call for ...
4
votes
1answer
311 views

BridgeStack — .NET client library with full 2.0 support

BridgeStack This is a StackExchange API v2.0 consumer library written under C#. It is heavily documented and designed to make it as easy as possible to interact with the API. Example Usage To ...
4
votes
1answer
373 views

Why do I get a throttle violation after 300 requests while using a key but no access_token?

I'm doing some testing on my app, and I let it run on a machine this afternoon while I was away. When I got back, I was geting 503 throttle violation errors from my API calls. I was calling the ...
4
votes
0answers
46 views

The field body_markdown is not returned for comments

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 ...
4
votes
0answers
146 views

Net::StackExchange2 - Perl Wrapper for StackExchange API (it's on CPAN)

About This library is a little labour of love for two things dear to me : StackOverflow, a place where I've learned just so much, and Perl a cryptic language that's giving me perspective. I ...
4
votes
0answers
121 views

Selective API oriented transcript fragment of Jeffs Code Camp Video Interview.

This is a very selective API oriented transcript fragment of Jeffs Code Camp Video Interview: Purpose Please note that this transcript fragment is mainly a supporting post to decrease the length of ...
3
votes
1answer
35 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 ...
3
votes
1answer
57 views

How to strip out certain fields from the Stack Exchange API, JSON response?

I want to fetch all my favorite questions on Stackoverflow.com and dump them as JSON. I used this API path: /2.1/users/1310070/favorites?fromdate=1382486400&site=stackoverflow But it is ...
3
votes
1answer
51 views

API for getting multiple (yet specific users)

I am developing one app which will be used internally in our company. We are recommending our colleagues to contribute to StackOverflow. To keep the moral of employees high, I am planning to develop ...
3
votes
1answer
44 views

Is the “link” URL enough to uniquely identify an “inbox_item”?

I've been looking at the documentation on the inbox_item type, and I was wondering what is the correct way to uniquely identify an inbox_item? Is the "link" URL enough to uniquely identify an ...
3
votes
1answer
45 views

Accept rate not available in the 2.0 API

Would it be possible to add the accept_rate field to both the user and shallow_user objects? For example, using the 1.0 API, I can see that Jon Skeet has an accept rate of 95%. ...
3
votes
1answer
45 views

How are filters created?

Can someone explain how Filters are created in the Stackexchange v2 API? The documentation mentions the following for /filters/create: It is not expected that many applications will call this ...
3
votes
1answer
37 views

List of Votes by Authenticated users

In the API documentation for the question type, it says that you can access, for a specific question, whether or not the authenticated user (in the private_info scope) upvoted/downvoted the question. ...
3
votes
1answer
38 views

The API has stopped allowing CORS requests

I just noticed that a script I have that makes CORS requests to the API stopped working on Meta Stack Overflow, claiming that the domain isn't allowed by Access-Control-Allow-Origin, which is true ...
3
votes
1answer
44 views

Problem with /search tagged and max

Seems like a problem with /search when max is not set to today, and tagged is given: ...
3
votes
1answer
28 views

When will the “site” field be absent from an “inbox_item”?

According to the documentation on the inbox_item type, the site field "may be absent". Under what circumstances will this occur?
3
votes
1answer
229 views

Java wrapper for the Stack Exchange API 2.0?

I've checked out StackWrap4J, but it looks like it doesn't support some of the new methods provided in the v2.0 API (specifically the ones having to do with user authentication). Does anyone know if ...
3
votes
1answer
59 views

Is there a meta api?

Is there a meta API for StackExchange? I don't mean an API for accessing meta sites, but rather an API to get information about the API itself. What I'm looking for is something that I can call that ...
3
votes
1answer
53 views

“Authentication Statistics” graph y-axis labels are overly granular

Yesterday there was a spike in my app's authentication requests (thanks for that, by the way ;) which has caused my authentication graph to show a much wider range of Y values than it did previously. ...
3
votes
1answer
68 views

Why is my quota constantly decreasing?

I registered an app today (API v2) for the first time (App ID 47, LaServ), and let it run a bit with its new key. It's the only API app running on this IP (I rent the IP as part of a VPS package). ...
3
votes
1answer
1k views

Invalidating access token vs de auth app?

Other that invalidating an access token doesn't remove the app from the apps tab (why not?) whats the difference between these two methods?
3
votes
1answer
22 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?
3
votes
1answer
75 views

After a throttle violation, could the error message include the time when the block will be lifted?

I got my first throttle violation error after running in jsfiddle some example code given to me by a library author in response to a question of mine about how to use their library. This is the error ...
3
votes
1answer
652 views

API Implicit Authentication with Python

I am working on an desktop inbox notifier for StackOverflow, using the API with Python. The script I am working on first logs the user in on StackExchange, and then requests authorisation for the ...
3
votes
1answer
32 views

Could the /tags API return minimal information about synonyms?

It would be very helpful if the /tags API could provide at least a bare minimum of information about tag synonyms. Either: Number of synonyms the tag has, if any. Or a true/false flag for tags which ...
3
votes
1answer
32 views

What are the possible errors returned from authentication?

The title pretty much says it all, I couldn't find in the Authentication doc much about the errors (other than the HTTP code will be 400)?
3
votes
1answer
116 views

Will there be another contest when Stack API 2.0 is close to release?

Considering Stack API 2.0 will probably focus a lot on administration and write features, I think it would be a good idea to have another contest.
3
votes
1answer
49 views

What happens when sites or the whole network go offline

Now that the API is all done on stackexchange.com. What happens if say just certain sites go offline (eg just Stackoverflow). Will the API continue to return results or will it return the HTML offline ...
3
votes
1answer
23 views

What's the simplest way to detect if a question was asked by a user whose account has been deleted?

What's the minimum filter and simplest way to detect if a question (by its ID) was asked by a user whose account has been deleted?
3
votes
1answer
63 views

Can we get write access to user favorites?

I'd like users of my app to be able to add questions to their favourites. Will this be added to the API as an authenticated call?
3
votes
1answer
42 views

Unable to sort /search results by creation_date

I think I may have stumbled upon a bug in /search and I'll try to describe it as best as I can. What works: Create a /search query with the following parameters: fromdate: 2012-01-24 order: desc ...
3
votes
2answers
61 views

Is it possible to get daily reputation change for a user via the API?

I'm trying to fetch a user's daily reputation change history for a project that's still early in the planning stages. I've been trying to use the "reputation" endpoint, but it seems like I can query ...
3
votes
0answers
96 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 ...
3
votes
0answers
38 views

Stack Exchange API in Chrome extension

How I can connect my extension to the API? I tried to use this example code for connecting: SE.init({ clientId: 1, key: '?', channelUrl: '?', complete: function (data) { ...
3
votes
0answers
46 views

Implicit OAuth Flow stopped working. Redirect happening to a non existent URL

The following URL is first hit when a user clicks on Login: ...
3
votes
0answers
39 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 ...
3
votes
0answers
207 views

Stack Tunnel - WebGL Visualization for Stack Exchange

Stack Tunnel Screenshots About StackTunnel is a WebGL visualization which displays the latest questions from any Stack Exchange site interactively within your web browser. You can click on the ...
3
votes
0answers
96 views

OAuth Dialog rendering problems

I'm using the implicit OAuth flow for our native iPad app. We're calling the standard URLs in a UIWebView. The Stack Exchange login renders with several UI glitches. The first screen looks correct: ...
3
votes
0answers
30 views

Example responses

I think I may have asked this before. Would it be possible to have example responses for the inbox route. Eg I have no idea what a careers_invite would be like.
3
votes
0answers
34 views

Example of inbox items?

Would it be possible to get an example of each type returned by the inbox, Eg careers messages, and whatever meta questions are. Do careers invites/chat messages/etc have ids? And what is their site? ...
2
votes
2answers
585 views

Python library for the StackExchange v2 API?

So I'm aware of Py-StackExchange and pyso.py, but neither covers the v2.0 API. Does anyone know of a Python library for the 2.0 API?
2
votes
1answer
36 views

How do I get a user's bio with the SE API?

Am I just missing something here or is there not a way to retrieve a user's bio with the SE API? I looked at the documentation under the "Users" section, but I didn't find anything. Any suggestions?
2
votes
1answer
80 views

Is it possible to access data in real-time using the Stack Exchange API?

I want to show an animation of: Questions being asked and answered in the most popular tag Comments being posted New users joining All in real time. Is there access to real-time data?
2
votes
1answer
1k views

How to convert a (javascript) date to the API timestamp format?

When I am using this page for the Stack Exchange API /search path, I can see that it is generating time-stamps in this format: fromdate=1380326400&todate=1380412800 What is this date format? ...
2
votes
3answers
59 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? ...
2
votes
1answer
26 views

Get a list of required tags for site

How can I get the tags which are required, (fulfills_required = true) for each site? Like order/filter the tags route to show the fulfills_required tags first?
2
votes
1answer
24 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 ...
2
votes
1answer
65 views

How to make a Stack Exchange API call, using my key

I have a Meteor application and I'm making API calls like: var urlString = "http://api.stackexchange.com/2.2/users/"+surl; HTTP.call ("GET", urlString, {params:{site:"stackoverflow"}}, function ...
2
votes
1answer
45 views

Is there any support for Area 51 in the new API?

Does the new API support Area 51? Will there be support in the future?
2
votes
1answer
49 views

Maximum length of “about me” in the Stack Exchange API?

What is the Maximum length of "about me" in the Stack Exchange API? The one from the /me path. And in general, where are the length limits published? If anywhere?