Questions tagged [api-v2]

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

38 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
29 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 ...
Bugs's user avatar
  • 451
19 votes
0 answers
579 views

Register for the Stack Exchange V2.0 API Private Beta

It's getting to be that time (actually, it's about a month later than I'd hoped but still!), API V2.0 is shaping up and we're spending more and more time on UI polish rather than functionality. So let'...
Kevin Montrose's user avatar
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
12 votes
0 answers
347 views

API V2.0 Public Beta Begins

As has been announced, we're starting the public beta and spinning up a contest (as we did with V1.0). As such, some of the guidelines for the private beta no longer apply. The api-v2-beta tag no ...
Kevin Montrose's user avatar
11 votes
0 answers
358 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 ...
Zoe is on strike's user avatar
11 votes
0 answers
234 views

TIARA - a tool for enhancing SE beauty

About Quality is an important area of concern for Stack Exchange sites. Immediate quality concerns are generally handled through a combination of flagging and downvoting. However, some things don't ...
agent86's user avatar
  • 3,277
11 votes
0 answers
284 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
9 votes
0 answers
117 views

api 2.0 - any plans to bring SE sites closer together?

I've been re-reading api 2.0 roadmap and thinking what might be useful to have there. I don't care much about authentification, and even less about write access. But what would really reduce amount ...
Nikita Rybak's user avatar
  • 1,271
8 votes
0 answers
380 views

Stack on Go - A wrapper library in Go

Stack on Go - A wrapper library in Go https://github.com/laktek/Stack-on-Go Sample Code session := stackongo.NewSession("stackoverflow") //set the params params := make(stackongo.Params) ...
laktek's user avatar
  • 111
7 votes
0 answers
513 views

LaServ - A Python/Twisted based flexible command line bot/framework for Stack Exchange

LaServ (a play on Lazers, The Bridge's feedbot and '*Serv' bots, which provide IRC services ) is a Python/Twisted project that I've been poking at since the Christmas break. It's still beta quality, ...
agent86's user avatar
  • 3,277
6 votes
0 answers
233 views

localhost API key receives Curl error when retrieving access token

I have registered two apps -- one that will redirect to my website and the other that will redirect to a localhost server that I have running so I don't have to test my code on the site. I have ...
austin's user avatar
  • 171
6 votes
0 answers
106 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 ...
Oli's user avatar
  • 253
6 votes
0 answers
230 views

Net::StackExchange2 - Perl Wrapper for StackExchange API (it's on CPAN)

About This library is a little labour of love for two things dear to me : StackOverflow, a place where I've learned just so much, and Perl a cryptic language that's giving me perspective. I happen to ...
gideon's user avatar
  • 207
6 votes
0 answers
210 views

ExchangeLinq: LINQ Query Provider for Stack Exchange API v2.0

ExchangeLinq is a LINQ Query Provider for the Stack Exchange API. It only supports API v2.0. It is currently in alpha state and is being developed for Exchange It, a Stack Exchange client for Windows ...
JLaanstra's user avatar
6 votes
1 answer
235 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 ...
Dave DeLong's user avatar
  • 5,264
5 votes
0 answers
273 views

Ruby library for Stack Exchange API

About I have written a Ruby library for accessing Stack Exchange questions, comments, badges and users. I am adding more methods. Repository https://github.com/raysrashmi/ruby-stackoverflow ...
userxyz's user avatar
  • 151
5 votes
0 answers
65 views

How can I get the "follower" count for a given tag on a site?

One of the metrics (albeit a somewhat weak one) of a given tag's "health" is how many followers it has. I believe this is the count of how many users have the tag on their "Favorite Tags" list. You ...
agent86's user avatar
  • 3,277
5 votes
0 answers
154 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
0 answers
283 views

Stack Tunnel - WebGL Visualization for Stack Exchange

Stack Tunnel Screenshots About StackTunnel is a WebGL visualization which displays the latest questions from any Stack Exchange site interactively within your web browser. You can click on the ...
Crashthatch's user avatar
3 votes
0 answers
240 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 ...
Mitch's user avatar
  • 131
3 votes
0 answers
77 views

Why is there a difference between "questions" and "search" in API?

I have a query to find the number of questions tagged java from 2012-08-01 to 2013-08-01. Running this using both /questions and /search produces different results: https://api.stackexchange.com/2....
Sarath Saleem's user avatar
3 votes
0 answers
49 views

How to get network profile username?

I was thinking I could just get the username from the response of /users/{ids}/associated (where {ids} is the not-site-specific id). But then realised that it returns only network_user (even though we ...
Jonathan.'s user avatar
  • 3,128
3 votes
0 answers
154 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: (...
bromanko's user avatar
  • 489
3 votes
0 answers
36 views

Example responses

I think I may have asked this before. Would it be possible to have example responses for the inbox route. Eg I have no idea what a careers_invite would be like.
Jonathan.'s user avatar
  • 3,128
3 votes
0 answers
83 views

Example of inbox items?

Would it be possible to get an example of each type returned by the inbox, Eg careers messages, and whatever meta questions are. Do careers invites/chat messages/etc have ids? And what is their site?
Jonathan.'s user avatar
  • 3,128
2 votes
0 answers
44 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?
saravanaprasath's user avatar
2 votes
0 answers
24 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'...
200_success's user avatar
2 votes
0 answers
108 views

400 when posting a question to the Stackexchange API

I am adding a question via the API and I manage to create a preview of my question (See JSON extract below). { "has_more" = 0; items = ( { "creation_date" = ...
Besi's user avatar
  • 533
2 votes
1 answer
112 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?
James Mertz's user avatar
2 votes
0 answers
31 views

Name changes for a few methods

The following method names have been changed for reasons of consistency. /access-tokens/{accessTokens}/read is now /access-tokens/{accessTokens} /filter/create is now /filters/create /filter/{filters}...
Kevin Montrose's user avatar
2 votes
0 answers
38 views

Fairly subtle filter bug between 8 am and 10 pm UTC Dec. 29th

This is a public service announcement about a bug that most people probably didn't notice, but might be biting you pretty hard about now. Between 8 AM and 10 PM UTC December 29th, filters generated ...
Kevin Montrose's user avatar
2 votes
0 answers
31 views

Secure OAuth pages contain insecure content.

I noticed that some of the OAuth pages use insecure content (http:// content on an https:// page): I'm not sure how easy this is to fix but it could potentially scare off some users who don't ...
Nathan Osman's user avatar
  • 23.3k
1 vote
0 answers
508 views

OAuth login fails for Stack Exchange and Facebook, but not Google

I'm integrating with Stack Exchange API on iOS 6 & 7. To authenticate, I load up a UIWebView with the OAuth page. Google login works well, but Stack Exchange and Facebook do not. Are these ...
Pwner's user avatar
  • 185
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 ...
Nikhil N's user avatar
  • 111
1 vote
0 answers
225 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="...
Amit Parmar's user avatar
1 vote
0 answers
25 views

Why are Meta sites' "site_state" = "linked_meta"?

In 2.0 there are the site_type and site_state fields. On Meta sites these fields give the same information, site_type = meta_site and site_state = linked_meta Instead it would be more useful if ...
Jonathan.'s user avatar
  • 3,128
1 vote
0 answers
31 views

Auth dialog improvements (who's logged in, etc)

The auth dialog (client side) could do with a bit of improvement. Specifically, showing the currently logged in user, and a link saying "not you?". Facebook does this and allows you log in as someone ...
Jonathan.'s user avatar
  • 3,128
1 vote
0 answers
41 views

Removing StackExchange dropdown and mobile version of auth dialog

Would it be possible to remove the StackExchange drop down (hot questions, sites, inbox) from the Auth dialog? Typically when displaying dialog, you don't want the user to start browsing questions ...
Jonathan.'s user avatar
  • 3,128