All Questions
284 questions
2
votes
1
answer
221
views
Is there a difference between the API search and the search from within the site?
I'm curious if the search results from the API is calculated the same way as the searches from within the sites themselves?
Is there a difference between the two? If so, what are the differences?
6
votes
1
answer
259
views
API Inconsistencies
In my opinion, one of the hallmarks of a good API is that it is self-consistent. It establishes easy-to-remember conventions and then follows them.
As I'm trying to adopt the 2.0 API, I'm finding ...
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 ...
0
votes
1
answer
145
views
How do I handle token expiration in my application?
This request is responded to with either an error (HTTP status code 400) or an access token of the form access_token=...&expires=1234. expires will only be set if scope does not include no_expiry, ...
11
votes
0
answers
410
views
OBSOLETE - Dragon: an automatic editor
OBSOLETE: No longer maintained, and I haven't used it for ages either. May or may not work as long as v2 of the API remains supported
Screenshot
My revision history currently contains a lot of ...
4
votes
1
answer
120
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
...
5
votes
0
answers
309
views
stackchat.cpp - a C++20 library for Stack Exchange chat
Code snippet
#include "stackchat/StackChat.hpp"
#include "stackchat/chat/ChatEvent.hpp"
#include "stackchat/chat/Command.hpp"
#include <iostream>
#include <...
6
votes
0
answers
230
views
stackapi.cpp - a C++20 library for the Stack Exchange API
Code snippet
#include "stackapi/StackAPI.hpp"
#include "stackapi/data/structs/comments/Comment.hpp"
#include <iostream>
int main() {
stackapi::StackAPI api (
{
...
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 ...
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 ...
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
0
answers
298
views
PyStackAPI - wrapper for the StackExchange API, written in Python
PyStackAPI
The latest version - 0.2.0
What is PyStackAPI?
PyStackAPI is a modern, 100% typed wrapper for the StackExchange API, written in Python.
Documentation
You can find documentation here: https:/...
2
votes
0
answers
76
views
How to get user information of Stack Overflow?
I'm currently using the Stack Overflow API to get a user's information (via Stack Exchange).
Is it possible with the Stack Overflow API to get user details?
3
votes
1
answer
215
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 ...
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 ...
2
votes
1
answer
73
views
Helper module for SE API for Nushell
Following on from Calling SE APIs with Nushell (basic overview), I have developed a helper module for calling SE API's in Nushell. The library itself is short and included in the first answer. Usage ...
5
votes
1
answer
514
views
StatsExchange - low friction, API-based statistics generator
##Screenshot / Code Snippet
##About
StatsExchange is an application that's designed to leverage the filtering and data reporting features of the Stack Exchange API. With StatsExchange, you can ...
5
votes
0
answers
147
views
Insert direct documentation links in to answers
Based on previous topics on meta.stackoverflow.com, there appears to be a gap how we can better assist users when answering questions by providing direct links to documentation (supplementing the ...
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 ...
5
votes
0
answers
442
views
Stack Exchange Chat API Documentation and Bot Boilerplate (finally)
Chat Documentation
GitHub Link:
https://github.com/jbis9051/JamesSOBot/blob/master/docs/CHAT_API.md
Description:
I know many people have created bots in different languages. Thats why I need your help ...
1
vote
0
answers
257
views
/oauth/access_token not redirecting back to my redirect_uri
I am trying to implement Stack Exchange using oAuth 2.0. I am able to get CODE but, when I try to get access_token through this code:
<?php
if(isset($_GET['code']))
{
?>
<form method="...
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 ...
2
votes
1
answer
115
views
The /questions endpoint only returns around 30,000 items where 400,000 are expected
I use stackr library and I registered an api key as the library mentions "since it increases your daily quota of queries from 300 to 10,000." So I use the following code, which worked fine ...
2
votes
1
answer
195
views
Main Stack Exchange network site API
The original Stack Exchange app has this cool feature where you can browse hot question from the entire network.
But at the current state I am not able to see a “Stack Exchange” site listed in the ...
1
vote
0
answers
62
views
PLACEHOLDER - Pipedream extension for doing actions on stackexchange
I am using the Stack Exchange API for doing actions on the website which can be performed using a portal I am building which links various other platforms.
4
votes
0
answers
379
views
StackExchangePy: Python3 wrapper for StackExchange API
About
StackExchangePy is another python package for StackExchange API, written in python3.
License
The package is under GPL3 license.
Download
To install it, type pip3 install stackexchangepy in your ...
6
votes
1
answer
293
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) { alert('...
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 ...
2
votes
0
answers
132
views
Generate StackApps - post generator for userscripts
About
Generate StackApps is a post Markdown generator for userscript projects reducing the amount of busywork required to publish userscripts for the benefit of the Stack Exchange network users. The ...
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
...
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 = ...
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 ...
0
votes
1
answer
383
views
Serel returns a JSON Parse error for the 'C#' tag
When I try requesting the tag c# via Serel, I get an error.
This is the error I am getting:
INFO][2013-02-25 02:06:42] Making request to /2.0/tags/c#/info?site=stackoverflow&key=mykey
JSON::...
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 ...
2
votes
1
answer
173
views
How do I find all questions/answers per a tag?
Would also be good if I could also find the top questions/answers in a particular tag - i.e. questions tagged with Ruby or PHP.
Per the docs the only thing I can see that will return questions in a ...
30
votes
0
answers
1k
views
Belisarius - Detecting vandalism on Stack Overflow
Background:
This bot has been developed in an attempt to help capture possible vandalism. This includes:
Removing all code
Replacing all content with nonsense/repeated words
Adding solutions to ...
1
vote
0
answers
62
views
Has someone implemented code(in javascript) to get last seven days consolidated reputation thorough API?
I am trying to get user's reputation for last seven days. I want to get total reputation user has earned on specific day. Has someone implemented a way to do this in javascript?
I know I can do this ...
0
votes
1
answer
60
views
Is there any API to support creating a new question on stackoverflow? [duplicate]
I know there is api for stackoverflow.
It looks like the APIs are read-only, supporting the Get/Search operation.
Is there any API to support creating a new question on stackoverflow?
4
votes
1
answer
109
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). ...
8
votes
0
answers
446
views
GraphQL Stack Overflow API endpoint W.I.P
About:
Currently a GraphQL endpoint is available here, meant to facilitate apps wanting to query data from StackExchange but with the GraphQL spec. High speed, built with go and hosted on Azure. ...
12
votes
1
answer
159
views
Add close-vote information to the questions object
Would it be possible to add close/reopen vote information to the questions object?
For example, you usually see something along the lines of:
close (3)
when a question has three (current) close-...
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 ...
1
vote
1
answer
74
views
How can I the question detail page and add comments like the Stack Exchange app?
Can we get the list of data when clicking on a specific question and display the question detail page like the Stack Exchange app?
I can't find the API to get them so far, so I decided to display the ...
12
votes
2
answers
1k
views
Sanction - An OAuth 2.0 implementation
Code Snippet
from sanction.client import Client
from sanction.adapters.google import Google
client = Client(Google, {
"google.client_id": "myclientid",
"google.client_secret": "...
2
votes
1
answer
64
views
After which time span can my vote no longer change?
I came across a toast that appears when I try to change my vote that I made a few days ago.
Is it documented somewhere after which time span you can no longer change your vote? Or does the API ...
4
votes
0
answers
307
views
ChatX: A ruby library for SE Chat
Screenshot / Code Snippet
Here's some sample usage:
cb = ChatBot.new(ENV['ChatXUsername'], ENV['ChatXPassword'])
cb.login
cb.gen_hooks do
room 63296 do # Room ID of The Closet, a testing room for ...
6
votes
0
answers
221
views
Ruby SE API: A Ruby wrapper for the Stack Exchange API
Screenshot / Code Snippet
An excerpt from the README:
First, initialize your client. You can omit the API key, but it's
strongly recommended that you use one because it increases your
request ...
1
vote
1
answer
316
views
access_token not present in /oauth/access_token response
When using the explicit OAuth authentication for apps, I have problems receiving the access_token. A user goes to /approve and is then forwarded to approve the app. When redirected back to my site I ...
3
votes
0
answers
156
views
OAuth Dialog rendering problems in iPad
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:
(...
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
....