As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [api-v2]

This tag is for questions about the Stack Exchange API version 2. First released Feb 2012.

Filter by
Sorted by
Tagged with
5 votes
1 answer
462 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 ...
6 votes
1 answer
208 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 ...
2 votes
1 answer
67 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?
1 vote
0 answers
208 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
72 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
176 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 ...
6 votes
1 answer
265 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('...
11 votes
0 answers
340 views

Dragon: an automatic editor

Placeholder removal While the placeholder tags have been removed, this project is still very much experimental - Dragon now works, but it doesn't always work well. Common sense while using is still ...
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
378 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
125 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
163 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 ...
126 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: http://www.stackprinter.com StackPrinter is a website that pulls the main ...
28 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
60 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
57 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
106 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). ...
12 votes
1 answer
152 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
60 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
59 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 ...
1 vote
1 answer
212 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
153 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: (...
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 (...
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 ...
9 votes
1 answer
157 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?
14 votes
2 answers
230 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)?
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: ...
17 votes
1 answer
237 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. ...
7 votes
1 answer
203 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.
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 ...
1 vote
1 answer
69 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, "...
4 votes
1 answer
2k views

API Implicit Authentication with Python

I am working on an desktop inbox notifier for StackOverflow, using the API with Python. The script I am working on first logs the user in on StackExchange, and then requests authorisation for the ...
2 votes
1 answer
103 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/#...
18 votes
1 answer
528 views

StackImpact - What's your impact?

Screenshot About I like to make contributions to Stack Exchange, and in return I gain rep. However, I find that rep doesn't really tell the whole story about what my contributions mean to the site. ...
3 votes
2 answers
1k views

Python library for the StackExchange v2 API? [duplicate]

So I'm aware of Py-StackExchange and pyso.py, but neither covers the v2.0 API. Does anyone know of a Python library for the 2.0 API?
3 votes
1 answer
86 views

Why is "body" missing from certain inbox items?

I have run into some confusion over the presence of the body attribute in an inbox-item returned by the /inbox method. When item_type is set to "careers_invitations", the body attribute appears to be ...
2 votes
1 answer
139 views

Can you identify a user from the access_token?

I have the access_token after authentication from the user. At this point I don't know with which sites this user has registered. Is it possible to get user information like the display name or ...
5 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 ...
14 votes
1 answer
160 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?
6 votes
1 answer
597 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 ...
7 votes
1 answer
678 views

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

I have followed the documentation and used explicit OAuth 2.0 flow for access_token generation. And I have gone through all 4 steps defined under explicit OAuth 2.0 flow with scope=no_expiry. Then I ...
9 votes
1 answer
973 views

SEAPI - A lightweight Python wrapper for the Stack Exchange API

About A lightweight Python wrapper for the Stack Exchange API v2.1. Built with Requests. Why yet another SE API Python wrapper? (I'm aware of Stack.PY - A Python Module for Accessing the Stack ...
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 ...
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....
6 votes
0 answers
100 views

The "advanced search" path returns very wrong results for the `q` parameter

I'm trying to search for a string. It's a hardware identifier 10ec:8168 and should be unique to that make/model of chip. Any questions that mention is should be relevant. But compare the site search ...
3 votes
0 answers
210 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 ...
5 votes
1 answer
55 views

Do calls on the 1.1 API and the 2.0 count against each other's limits?

Do the old 1.1 API and new 2.0 share limits? Or do my Stack Apps running on 1.1 calls not affect my limits for apps running on 2.0 calls?
1 vote
1 answer
32 views

Would implementing both 1.1 and 2.0 APIs in an app/script to get around the API quotas be considered abuse?

In another question I asked it was established that The IP, and user/app-pair quotas are separate in V1.x and V2.0. So with this in mind would an app or script which implemented like methods for ...

1
2 3 4 5