All Questions
284 questions
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, ...
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?
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
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
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
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 (
{
...
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.
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 ...
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 = ...
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 ...
12
votes
0
answers
498
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 ...
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 ...
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. ...
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 ...
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 ...
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 ...
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 ...
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 ...
3
votes
0
answers
226
views
SEStandard - A .NET Standard 1.1 compliant Stack Exchange client library that supports API v2.2
Please note that SEStandard is still under development. It is currently at version 1.0.0-rc, and is a release candidate. While you can expect the API not to change, you might come across bugs. Please ...
3
votes
0
answers
126
views
Ruby SE Realtime: A library for watching the SE Realtime WebSocket
Screenshot / Code Snippet
Documentation can be found in the GitHub repo: https://github.com/izwick-schachter/se-realtime
About
This is the library you need when you don't want to have to poll the ...
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 ...
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 ...
1
vote
1
answer
79
views
Do my users need to be logged in, for quota?
I am building an application and want to showcase relevant Stack Overflow questions. I have made the request and getting a response, but its responding with a quota value:
"quota_max": 300,
"...
3
votes
0
answers
102
views
stackcpp - An asynchronous C++11 library for the StackExchange API
stackcpp is an asynchronous C++11 library for the StackExchange API!
Code Snippet
Here's a small example of the API in action:
#include <iostream>
#include "stackcpp/client.h"
int main() {
...
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
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 ...
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 ...
2
votes
1
answer
108
views
Authentication uses # instead of `?`?
I need authentication for my app so I used the implicit flow way. The authentication works just fine but the access_token and expires variables return weirdly!
For example:
https://example.com/#...
5
votes
0
answers
735
views
StackAPI - A(nother) Python wrapper
This is a(nother) Python wrapper for the Stack Exchange API. I wrote this to assist with a couple of my projects that needed to do a lot of API interactions. After using it and polishing it up for as ...
5
votes
0
answers
921
views
StackExchange API JS SDk
I am planning to write a javascript library as a wrapper over StackExchange API. Currently, every webapp using StackExchange api needs to compile the url and make a GET request (mostly by ajax) which ...
3
votes
0
answers
274
views
Login screen without web browser
I'm playing around with the Stack Exchange API, and have just received my first response from the server using the "Hello World" example.
The next step is to allow the user to log in somehow. From ...
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:
...
5
votes
0
answers
429
views
ChatExchange - It is an API for Chat
Code Snippet
sendMessage('chat.meta.stackexchange.com', 721, 'Hello @Sha', fkey().fkey)
//Sends the message 'Hello @Sha' to Shadow's Den
//Must be run in a chat site, due to @Balpha not wanting CORS ...
2
votes
1
answer
61
views
The `top_questions` field shows outdated information?
I am using Stack Exchange API. I posted question from the doc page /questions/add to Stack Overflow. This was my first question. As that question was to check the function /questions/add, means it was ...
7
votes
1
answer
28k
views
How to deal with the "Too Many Requests" error coming as HTML?
The API specifies error codes, and messages.
It also specifies a "backoff" parameter.
But, even while respecting the backoff and stopping at errors, and even when waiting a long time between requests ...
5
votes
1
answer
211
views
Get the Authenticated User's email?
We're building the website for our local Developer Community. We're trying to enable "Login with Stack Exchange" (we already got LinkedIn and GitHub), but I can't seem to find the User's email when ...
4
votes
0
answers
282
views
Want a way to give your user the access token nicely?
Well your wishes have been fulfilled. Over on GitHub is a page ready designed for you to use!
It's my SEAuthentication repro.
What does it do?
How does it work?
The essential code is below. There is ...
-4
votes
1
answer
116
views
I Cannot Perform Oauth [closed]
My Clientn id = 4784
and Key = cB0l6XiaOW5l5vsBnBeIUg((.
What do I do for Oauth and to get an access token?
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.
2
votes
1
answer
130
views
What is the difference between accepted and is_accepted?
I saw there are two fields in answer type.
One is accepted, introduced in v2.2 and needs private_info access.
While another one is is_accepted without these limits.
Can somebody give an explanation?
2
votes
1
answer
54
views
How to get up_vote_count and down_vote_count for a user?
I'm testing the following command:
$ curl -s "http://api.stackexchange.com/2.1/users/55075?&site=stackoverflow" | gunzip -d | python -m json.tool
However it doesn't return up_vote_count and ...
11
votes
0
answers
461
views
ArtOfChatbot + Chat API - a customisable chatbot
Stack Exchange chat has no API. While this is not a complete chat API, it introduces a level of control that makes it far easier to run chatbots.
About
ArtOfChatbot is a two-part creation: a basic ...
2
votes
1
answer
346
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 ...
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 ...
2
votes
0
answers
27
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.
That'...
3
votes
1
answer
86
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, ...
3
votes
1
answer
81
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 ...