All Questions
93 questions
53
votes
11
answers
5k
views
OBSOLETE - Soapi.CS : A fully relational fluent .NET Stack Exchange API client library
Soapi.CS for .Net / Silverlight / Windows Phone 7 / Mono
as easy as breathing...:
var context = new ApiContext(apiKey).Initialize(false);
Question thisPost = context.Official
.StackApps
....
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....
25
votes
15
answers
3k
views
OBSOLETE - Soapi.JS : fluent JavaScript client library for the Stack Exchange API
OBSOLETE
This library uses the old API, and the soapi.info domain doesn't work anymore. There's still an archive on CodePlex.
Soapi.js
If you are looking for a full featured, compact JavaScript ...
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 ...
13
votes
12
answers
1k
views
Soapi.JS2: a fully relational JavaScript client library for the Stack Exchange API - beta preview
Soapi.JS2
var context = new Soapi.ApiContext(yourApiKey);
context.initialize(function() {
context.official.stackApps
.Users().ById(14)
.invoke(function(users) {
...
133
votes
30
answers
16k
views
Py-StackExchange: An API wrapper for Python
UPDATE: 2.x support is now mainline! Please read the wiki page for important information about the update.
A warm welcome to you, traveller. You have arrived at the home of Py-StackExchange, the ...
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 ...
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 ...
33
votes
8
answers
5k
views
StackWrap4J Java wrapper
The StackWrap4J 1.0.1 jar is now available! (See the changelog)
Sample Code / Screen Shot
The following code snippet was used to test the wrapper in the Android emulator:
TextView text = (TextView)...
15
votes
0
answers
769
views
Firehose JSON streaming event service
Code Snippet
Using curl:
$ curl http://stackoverflow.hewgill.com:8080/firehose/stackoverflow
or, in a browser, http://stackoverflow.hewgill.com:8080/firehose/stackoverflow.
About
This "firehose" ...
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:
...
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.
...
12
votes
0
answers
497
views
Stack Exchange Global Types - a type declaration package for global objects exposed by Stack Exchange
Screenshot / Code Snippet
About
Stack Exchange global types is a type declaration package adding or augmenting type definitions for global objects exposed by Stack Exchange for client-side ...
19
votes
6
answers
4k
views
Stack.PY - A Python Module for Accessing the Stack Exchange 2.1 API
Now on PyPI!
You can now find Stack.PY on PyPI, Python's package index. This means that you can install the package simply by running the following command in a terminal:
pip install stackpy
About
...
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?
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 (...
5
votes
0
answers
357
views
Stack Exchange API Types - a type declaration package for API types
Screenshot / Code Snippet
Usage example:
import {
CommonWrapperObject,
Errors,
Filters,
Tag,
} from "@userscripters/stackexchange-api-types";
export const getTagsAPI = ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
7
votes
2
answers
764
views
Generate Headers - a utility package for validating and auto generating userscript manager headers
About
Tired of writing out userscript headers by hand? Of small typos in your @match headers leading to wasted time? Generate Headers to the rescue: this utility package automates header generation ...
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=...
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 ...
53
votes
10
answers
7k
views
StackKit: an API framework for Cocoa
About
StackKit is a library for accessing the Stack Exchange API from within Cocoa/Cocoa Touch applications. It is under active development, but the major core functionality is present.
Code ...
18
votes
0
answers
2k
views
Stack Exchange Java client library
Sample Code
/**
* The following will print out the current stats for the
* Stack Overflow site (stackoverflow.com).
*/
public class Example
{
public static void main(String[] args)
{
...
16
votes
2
answers
2k
views
PHPstack - A PHP wrapper to the SE API
PHPstack
PHPstack is meant to be an easy to use PHP wrapper for the Stack Exchange API.
<?php
require_once('lib/requestcore.class.php');
require_once('phpstack.class.php');
$so = new ...
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)?
12
votes
1
answer
1k
views
ThirdPlace JavaScript chat library
Screenshot / Code Snippet
var room = ThirdPlace.Room.GetCurrentRoom();
var message = new ThirdPlace.Message;
message.room_id = room.id;
message.content = "ThirdPlace.js is a library which abstracts ...
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 ...
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.
6
votes
0
answers
398
views
Node.js/ChatExchange - An API for Chat
About
ChatExchange is a node.js API for talking to Stack Exchange chat (Largely based on ChatExchange for python). This is still very much in the works, but currently provides a working API for those ...
5
votes
1
answer
305
views
Calling SE APIs with Nushell (basic overview)
While I still prefer a more "traditional" shell for day-to-day use, I'm finding Nushell's structured data capabilities to be a fantastic companion to the SE API (among others). It's been ...
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 ...
5
votes
1
answer
858
views
StackScript JavaScript Wrapper
Code Snippet
Demonstrates the StackUser class:
// Global object
var ss = new StackScript('');
function GetInfo()
{
// The provided callback will be called
// when the data arrives
var ...
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?
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 ...
4
votes
0
answers
131
views
go-sechat - Go package for interacting with the Stack Exchange chat network
The Stack Exchange chat network does not currently have an API. However, after spending a bit of time in Chrome's Inspector, I was able to reverse-engineer most of the requests and responses ...
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 ...
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 ...
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:
...
16
votes
3
answers
6k
views
stackoverflow-java-sdk: a Java wrapper for the Stack Exchange API
I have released a beta snapshot version of a Java wrapper for the Stack Overflow API at http://code.google.com/p/stackoverflow-java-sdk/. Please try it and provide your feedback.
Screenshot / Code ...
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 ...
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?
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 ...
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 ...