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

learn more… | top users | synonyms (1)

1
vote
1answer
244 views

How to write a first application?

How to write the first applications to use StackOverflow, for C# under the platform WinRT? How to use the API-functions? Is there a ready-made packages for under winRT (NuGet)? Are there a step by ...
21
votes
2answers
1k views

StacMan - .NET client for Stack Exchange API v2

Features Supports all Stack Exchange API V2 methods through version 2.1 Easy to use: one-to-one mapping between StacMan and API methods/params Async is easy: methods return Task<T> so ...
0
votes
1answer
40 views

API returns the last activity date even if asked not to

Using the /questions method, I tried to get upvote and downvote counts, along with question Ids. This is the request I sent: ...
12
votes
1answer
178 views

Can we have some debug endpoints for testing corner cases?

After encountering a throttle violation today (which I posted in another question), it occurred to me that although I've put together code to handle "backoff" conditions, and potentially throttle ...
1
vote
1answer
67 views

How do I find a user by their `display_name`?

I am using Serel (the Ruby wrapper) and would like to be able to find a user by their display_name. As it stands right now, I can only find them via an ID - like Serel::User.find(1,2,3). I tried ...
0
votes
0answers
10 views

stackoverflow call returning some zipped data when I call from server side [duplicate]

When I call stackoverflow api from server side of my meteor application, I'm getting the follwoing result query var futt=new Future(); var userDetailsURL = ...
46
votes
3answers
13k views

Stack Alert [Google Chrome Extension] - Keep tabs on your inbox without needing to have a Stack Exchange site open.

Not using Chrome? Don't worry, Stack Alert is available for other browsers as well. Visit the appropriate page for your browser below: Mozilla Firefox Opera Screenshot / ...
100
votes
1answer
13k views

StackPrinter: The Stack Exchange Printer Suite

UPDATE: Version 1.1 - MySE section, PrettyPrint, StackPrinter API Screenshots: App Homepage Printable view Logo: http://www.stackprinter.com StackPrinter is a website that pulls the ...
0
votes
1answer
26 views

“access_denied” error in the write answer at stackoverflow [duplicate]

I am providing an application (windows application), This application can search in the stackoverflow and show results. Then User can write answer for that Question or write comment for that, Now my ...
2
votes
1answer
162 views

StackExchange API Java SDK

This project aims to provide a Java wrapper to the Stack Exchange API. SDK supports Stack Exchange API V2.2 Getting Started There are two interfaces to the library. Query Interface Facade ...
28
votes
1answer
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 ...
5
votes
0answers
50 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 ...
2
votes
1answer
35 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, ...
1
vote
0answers
11 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. ...
0
votes
0answers
66 views

Using StackApp Oauth with iOS custom url schemes

I am trying to create some demo application for iOS using the Stack Exchange API. I could not however, get the OAuth authorization done. I have used the custom URL schemes in my application. I open ...
125
votes
9answers
5k views

StinkingBadges - Track your progress towards long-term badges

Introduction I was curious how far away I was from Generalist, and there are some data explorer queries that can show you your progress, but I thought it should be possible to make this work ...
0
votes
0answers
65 views

Error: Cannot return to provided redirect_uri

I am trying Stack Exchange OAuth in local Magento site. I tried this URL: $url = ...
2
votes
1answer
26 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
1answer
39 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 ...
9
votes
1answer
69 views

Give us a site's API name in the list of a user's sites

In the /me/associated method, I get back a bunch of JSON - but the api_site_parameter name is nowhere to be found. Why? It's kind of important. Could we have it?
12
votes
0answers
65 views

Get favorited tags of user

This was requested in 1 and declined because of a missing authentication method. Now that authentication is in place, is there a way to retrieve the favorited tags of a user (myself)?
1
vote
0answers
159 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 ...
0
votes
0answers
14 views

oAuth login via stackexchange api : facebook click nothing happens on mobile devices [duplicate]

I am trying to use stackexchange api to login to an app but nothing happens on facebook click is that a known bug?
3
votes
1answer
38 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
0answers
99 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
0answers
85 views

Application Key and AccessToken are not working for Stack Exchange API?

I am having issue while using access_token in my request. I have followed following Doc and used explicit OAuth 2.0 flow for access_token generation. ...
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? ...
0
votes
1answer
34 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 ...
3
votes
1answer
23 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
1answer
32 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 ...
2
votes
1answer
66 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 ...
106
votes
6answers
11k 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 ...
0
votes
0answers
47 views

How can I use the Stack Apps API? [duplicate]

I want to create a stack app and post and read from it using rest APIs; are there any examples? Is it possible to post questions and answers? I currently have registered for a Stack Apps OAuth client ...
29
votes
5answers
4k views

Stack.PHP - Powerful and Extensive Library for Accessing the Stack Exchange API - Including Full Support for v2.0.

Don't know where to start? Begin by checking out the Stack.PHP website. Then head over here for a quick tutorial on setting up and using Stack.PHP. About Why you should use ...
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?
3
votes
0answers
30 views

Descriptions of tag-based badges are incorrect

The descriptions associated to tag-based badges are wrong, they always show 0 instead of actual thresholds: Earned at least 0 total score for at least 0 non-community wiki answers in the … tag ...
2
votes
2answers
62 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 ...
8
votes
2answers
440 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
1answer
45 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 ...
3
votes
0answers
39 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) { ...
1
vote
0answers
65 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
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 ...
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?
4
votes
1answer
45 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: ...
1
vote
1answer
37 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 ...
2
votes
1answer
53 views

Getting global information (Stack Exchange) about a list of users

I'm working with the API for several weeks (see my app here) and I'm trying to get the username of a particular user from its Stack Exchange ID. It's possible by querying /users/{ids} but it returns ...
3
votes
1answer
62 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 ...
1
vote
0answers
42 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: ...
27
votes
6answers
1k 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 ...
15
votes
2answers
254 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 ...