Skip to main content

All Questions

Filter by
Sorted by
Tagged with
32 votes
6 answers
7k 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 Stack.PHP: Stack....
Nathan Osman's user avatar
  • 23.3k
6 votes
1 answer
676 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 ...
Sachin Jain's user avatar
109 votes
3 answers
23k views

API Documentation and Help

Method List All API methods can be found at https://api.stackexchange.com/docs. Global Method Parameters All methods accept the following parameters: type=jsontext: responds with mime-type text/json. ...
32 votes
1 answer
11k views

Looking for a beginner's tutorial to using the API

I see the Stack Exchange API but I'm unable to understand it. I don't think there is any fundamental tutorial showing how to use Stack Overflow fully in the API documentation. I want some fundamental ...
Ranjit's user avatar
  • 423
127 votes
4 answers
22k views

StackPrinter: The Stack Exchange Printer Suite

UPDATE: Version 1.1 - MySE section, PrettyPrint, StackPrinter API Screenshots: App Homepage Printable view Logo: https://www.stackprinter.com StackPrinter is a website that pulls the main details ...
systempuntoout's user avatar
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 ...
lfoust's user avatar
  • 6,075
15 votes
1 answer
2k views

Unable to get access token

I am trying to get a non-expiry access token, like so: https://stackexchange.com/oauth?scope=no_expiry&redirect_uri={{some_uri}}&client_id={{some_value}} I am repeatedly getting the error: ...
user34257's user avatar
  • 185
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
1 answer
255 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. ...
Nick Peterson's user avatar
10 votes
0 answers
280 views

Tell us that POST is required to write

While troubleshooting /posts/{id}/comments/add in order to answer Why am I getting a 404 when trying to post a comment?, it was noticed that the API path in question only responded to POST requests. ...
michaelb958--GoFundMonica's user avatar
9 votes
1 answer
171 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?
asheeshr's user avatar
  • 193
8 votes
1 answer
2k 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 (...
Sasikanth's user avatar
  • 183
54 votes
9 answers
4k views

OBSOLETE - New Q! - Google Chrome Extension notifies you of new questions of interest and inbox messages

Obsolete. Code last updated 7 years ago. Chrome store links are long dead. Source code still available though. Screenshots A new question notification in Chrome 6 in Windows XP A new answer and ...
Adam's user avatar
  • 809
38 votes
2 answers
3k 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 they're ...
Emmett's user avatar
  • 481
21 votes
1 answer
233 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 ...
agent86's user avatar
  • 3,277
18 votes
1 answer
278 views

Accessing Authenticated User's Close/Delete History

I'm working on the PHP chatroom's cv-pls backlog UI. Many users and myself would like the ability to track which questions we have already handled though close/delete votes. To be able to do that I ...
kittycat's user avatar
  • 507
13 votes
0 answers
2k views

Stack.JS - Powerful Event-driven Library for Accessing the Stack Exchange API in JavaScript.

About Stack.JS is the JavaScript equivalent of Stack.PHP and aims to replicate the request structure of that library as much as possible. The library is still a long ways from being complete but is ...
Nathan Osman's user avatar
  • 23.3k
9 votes
1 answer
321 views

Could/Should the API evolve more agile rather than being blocked by v2 writing (and authentication) features?

The activity on Stack Apps has dwindled noticeably; this might be a topic for its own discussion, however I'd like to revisit the API roadmap beforehand to set a proper stage and expectations in this ...
Steffen Opel's user avatar
  • 1,380
6 votes
1 answer
1k views

Please "release" and/or document API version 2.3

I was playing around a bit with Fiddler to capture traffic from the Stack Exchange iOS app. To my surprise, it uses version 2.3 of the Stack Exchange API: I noticed here that it has some extra ...
Glorfindel's user avatar
  • 6,885
4 votes
1 answer
288 views

How do I parse the dates from the API?

I see that JSON returned by the API contains dates in the following format: "creation_date":1364546475 ^^^^^^^^^^ What's the meaning of it? How can I parse it to get the date in the ...
Ionică Bizău's user avatar
3 votes
1 answer
4k views

OAuth redirect not completing

This is the URL that I'm entering (in Safari, cleared website data and cache; my app, uses own Cookie jar; and incognito chrome) https://stackexchange.com/oauth/dialog?client_id=23&scope=...
Jonathan.'s user avatar
  • 3,118
149 votes
9 answers
6k 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 with the ...
agent86's user avatar
  • 3,277
14 votes
2 answers
279 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)?
oschrenk's user avatar
  • 241
12 votes
1 answer
362 views

How the /sites method is meant to be used

The /sites method is used to enumerate all sites in the network. If your [app] is meant to run against more than a single site (and many are) this method is how you should be discovering new sites in ...
12 votes
7 answers
308 views

API V2 Musings: What would you like to see

Answers should take the form of feature requests/modifications that are either obviously beyond the scope of v1 and or have been status-declined or status-deferred They will be indexed here in the Q.
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 ...
user avatar
7 votes
1 answer
216 views

Add the 'people reached' count to the API?

Can we have the people reached statistic added to the /users/{ids} method? The response could simply be: "people_reached": 1000 I'm asking because it would be cool to get a network-wide number.
ᔕᖺᘎᕊ's user avatar
  • 4,385
7 votes
1 answer
127 views

What happened to the JSON documentation for the API?

Back in version 1.1 of the API, we used to be able to do: http://api.stackoverflow.com/1.1/questions?help ...which would return information about the method in JSON format. However, attempting to ...
Nathan Osman's user avatar
  • 23.3k
5 votes
0 answers
156 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 ...
Steffen Opel's user avatar
  • 1,380
4 votes
2 answers
253 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?
Rakesh Adhikesavan's user avatar
4 votes
1 answer
2k views

API endpoints do not set Access-Control-Allow-Origin, so CORS requests fail

This looks like it might have been requested before: Support Cross-Origin Resource Sharing In order for CORS to work, the Access-Control-Allow-Origin header (and related headers) must be set. With ...
agent86's user avatar
  • 3,277
4 votes
1 answer
410 views

My filter is not returning any results. How to create a minimal filter?

I'm having trouble getting the SO API Filters to cooperate. I've gone over the documentation as well as similar questions like this and this. I'll use this call as an example since it successfully ...
ashleedawg's user avatar
4 votes
1 answer
146 views

AND searching for tags?

I am using the search api to search for questions that are tagged with "tags" and not with "tags". However I have noticed that searching for tags is an OR search. The questions search for tags is an ...
johnwards's user avatar
  • 465
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 ...
Steffen Opel's user avatar
  • 1,380
3 votes
2 answers
335 views

What am I allowed/not permitted to do with the API?

I have a site that will offer technical help and assistance for a certain niche of computer users. I can either host my own forums, or tie in with stack... but I want to be able to make money off it ...
makerofthings7's user avatar
1 vote
1 answer
50 views

`types=main_site` in `/me/associated` gives `meta_site` accounts also

When I run /me/associated with main_site as a parameter in types, its gives meta_site accounts also (Meta Stack Exchange profile).
amit jha's user avatar
  • 842
1 vote
1 answer
315 views

Implicit OAuth flow is not working when the user is not logged in.

Here is the URL I am trying to use: https://stackexchange.com/oauth/dialog?client_id=120&scope=read_inbox,no_expiry&redirect_uri=https://stackexchange.com/oauth/login_success This works ...
Nathan Osman's user avatar
  • 23.3k
20 votes
3 answers
159 views

Documentation or API method for `option_id` information, for the `/flags/options` API calls?

The Stack Exchange API has a couple of calls that return a list of flag_option objects. These objects contain a couple of properties that can be used to identify the flag you need. For example, when ...
Cerbrus's user avatar
  • 331
19 votes
3 answers
1k views

StackGeography, a Stack Exchange question mapping site

Screenshot / Code Snippet (source: apphb.com) About Ever wanted to see just what kind of locations are posting to the various Stack Exchange sites at any given time? Even if you haven't, you'll find ...
patridge's user avatar
  • 435
16 votes
1 answer
1k views

Registering app for API 2.0 key without Oauth domain

I'm trying to register an app, but it states that I need to add an OAuth domain. But I have Enable Client Side OAuth Flow disabled, because I don't need it right now. I basically have two questions: ...
PeeHaa's user avatar
  • 315
15 votes
2 answers
742 views

Bartlett—new questions, inbox items, and reputation in OS X

Bartlett is a Mac application that lets you keep track of the most recent questions, inbox items, and reputation items on your favorite Stack Exchange sites. You can be notified of new items by Growl ...
yuji's user avatar
  • 273
14 votes
1 answer
168 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?
user avatar
13 votes
2 answers
516 views

ChatterBox - user script that adds inbox integration to Stack Exchange Chat!

Screenshot / Code Snippet About I like Stack Exchange Chat, and with the feedbots it tends to be pretty easy to keep up with what's going on with the site. Except for one thing - my inbox. So I wrote ...
agent86's user avatar
  • 3,277
11 votes
1 answer
213 views

API V2 Private Beta Begins

It's about time this thing got under way. If you're participating in the private beta, you should receive an email to that effect. If you were also a member of the V1.0 private beta, you'll notice ...
Kevin Montrose's user avatar
11 votes
0 answers
287 views

Suggested Edits Queue for Mere Mortals

Screenshot About This Java command-line app gives you access to the Suggested Edits queue using the Stack Exchange 2.0 API. It is ideally suited for users in the 2000 <= reputation < 5000 ...
Marvin Pinto's user avatar
8 votes
0 answers
165 views

Incomplete information in API documentation

I am struggling a little bit with the Stack Exchange API since there seems to be no formal specification for the individual endpoints of the API. Example: Endpoint: https://api.stackexchange.com/2.2/...
Besi's user avatar
  • 533
6 votes
2 answers
1k 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 ...
Sanjiv's user avatar
  • 325
6 votes
1 answer
142 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 method ...
Arvindh's user avatar
  • 61
5 votes
1 answer
130 views

Typos on api.stackexchange.com/docs/js-lib

Under the Authentication section on https://api.stackexchange.com/docs/js-lib, there are a few typos (emphasis mine): scope (optional) – an array of scopes to request during authentication, valid ...
ᔕᖺᘎᕊ's user avatar
  • 4,385
5 votes
2 answers
158 views

Stack Exchange API is returning boolean(false) For 'is_answered' On Question With Accepted Answer

When you view this question you see a closed question which has an accepted answer. When you get the API info for it you get this: ["question_id"]=> int(17466804) ["creation_date"]=> int(...
kittycat's user avatar
  • 507