Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
14 votes
1 answer
149 views

Stack Exchange API is not returning the close vote counts for questions

When you visit this question (with proper privs) you can see that there are 2 close votes cast for it. However, if you access the information for this question using the Stack Exchange API you get ...
2 votes
1 answer
89 views

Top questions by tag and period

I want to get via API the most voted questions from the latest week (for example) from a specified tag (php, for example). How can I do this?
4 votes
1 answer
90 views

The API has stopped allowing CORS requests

I just noticed that a script I have that makes CORS requests to the API stopped working on Meta Stack Overflow, claiming that the domain isn't allowed by Access-Control-Allow-Origin, which is true ...
3 votes
1 answer
68 views

In the API, User object, what are all these reputation properties?

I am going through the JSON that is resulting from calling the Stack Exchange User API. I see a bunch of reputation fields. private Number reputation; private Number reputation_change_day; private ...
2 votes
1 answer
60 views

How do I get a user's bio with the SE API?

Am I just missing something here or is there not a way to retrieve a user's bio with the SE API? I looked at the documentation under the "Users" section, but I didn't find anything. Any suggestions?
2 votes
1 answer
49 views

How can I get a list of favorite/ignored tags?

I can not find an API method method that would provide me with a set of favorite/ignored tags for a given user. Is there such a method? If not, is there a recommended way to get this information?
1 vote
1 answer
64 views

CDN redirect for the API's JavaScript SDK is incorrect

The API's JavaScript SDK is listed as https://api.stackexchange.com/js/2.0/all.js. However, GET request produces the following response: Status Code: 301 Moved Permanently Location: https://api-...
2 votes
1 answer
102 views

Maximum length of "about me" in the Stack Exchange API?

What is the Maximum length of "about me" in the Stack Exchange API? The one from the /me path. And in general, where are the length limits published? If anywhere?
0 votes
1 answer
89 views

Searching answers with API

I'm very new to the API and I was looking for a way to get answers of a user. E.g. something like if you click on a tag in your tags section of your profile. For questions this seems to be quiet easy ...
3 votes
0 answers
291 views

stack2py - A Python wrapper for API v2 [alpha]

About stack2py is a library which wraps the SE API (v2.1) for Python. It aims to provide a clean and complete interface to the user, giving them complete control and accessibility. Although, ...
1 vote
1 answer
68 views

Ability to sort answers by number of revisions via StackExchange API v2?

I was curious whether there was a way to easily find which StackOverflow answer has the highest number of revisions and/or to sort by that metric. I see mention of a sort function in the ...
1 vote
1 answer
40 views

What sizes are the images available through the /sites endpoint?

I see logo_url, icon_url, favicon_url, high_resolution_icon_url... But I wasn't able to find any information about any of those images in the documentation. Are any of them fixed size? And/or is ...
2 votes
1 answer
61 views

Is question_id unique across all stackexchange sites?

The standard structure of a question URL is: http://site.com/questions/question-id/title Example: http://stackoverflow.com/questions/457927/git-workflow-and-rebase-vs-merge-questions It is ...
6 votes
0 answers
233 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 ...
3 votes
1 answer
71 views

Problem with /search tagged and max

Seems like a problem with /search when max is not set to today, and tagged is given: https://api.stackexchange.com/2.1/search?order=desc&max=1358294400&sort=activity&tagged=java&site=...
2 votes
1 answer
73 views

Is there a way (or app) to get realtime updates of new questions with a given tag?

According to Stack Exchange API not realtime?, the API does not return results in realtime, but has 1 minute delay for the same query. Is there a system or an app that delivers new questions in ...
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 ...
2 votes
1 answer
24 views

type related_site not listed in 'by type' tab list

The type "related_site" is not listed in the 'by type' tab in documentation.
4 votes
1 answer
52 views

Typo in the docs for /me

The doc says: Returns the user associated with the passed auth_token. This method returns a user. It should say "access_token" instead of "auth_token".
2 votes
1 answer
211 views

Using an existing Java oAuth implementation to access the Stack Exchange 2 Api?

I found the Scribe oAuth api and I was wondering how a call would work with the Stack Exchange API, since that uses oAuth. I'm sorta green when it comes to oAuth but I'm planning on writing an ...
3 votes
1 answer
60 views

Is the "link" URL enough to uniquely identify an "inbox_item"?

I've been looking at the documentation on the inbox_item type, and I was wondering what is the correct way to uniquely identify an inbox_item? Is the "link" URL enough to uniquely identify an "...
3 votes
1 answer
37 views

When will the "site" field be absent from an "inbox_item"?

According to the documentation on the inbox_item type, the site field "may be absent". Under what circumstances will this occur?
5 votes
1 answer
54 views

Can I search over SE using SE API if I have only a username?

How do I can find someone's userid if I have only their username? For example, my real username is: Zagorulkin Dmitry My Stack Overflow userid is: 1321404 Are there any API methods for this kind ...
2 votes
1 answer
64 views

how to get the number of profile views

according to the documentation, a User object has an attribute view_count, indicating the number of views of the user's profile. An example is also given there. However, when I sent a request /2.0/...
3 votes
1 answer
353 views

Java wrapper for the Stack Exchange API 2.0?

I've checked out StackWrap4J, but it looks like it doesn't support some of the new methods provided in the v2.0 API (specifically the ones having to do with user authentication). Does anyone know if ...
5 votes
1 answer
67 views

Typos in the API 2.0 Documentation

Typo #1: There are two different objects that represent a user in the Stack Exchange API, the full user object and the smaller shallow_user object. Which is returned depends on the method being ...
4 votes
1 answer
87 views

What does "Unchanged in unsafe filters" mean?

Could someone clarify what this means? For example, what does it mean that the short_description field is Unchanged in unsafe filters for a Privilege?
9 votes
0 answers
6k views

sanction: a dead easy OAuth2 client Python implementation

Overview sanction is a lightweight, dead simple (67 LOC!) client implementation of the OAuth2 protocol. The major goals of the library are: Support multiple providers Most providers have varying ...
5 votes
1 answer
47 views

/posts/{id}/revisions breaks for posts with [tag:*] content

Attempting to access (at least) the revisions route for a post with a revision involving the [tag:*] syntax causes an error: Example on Meta Stack Overflow (Post History) Example on Mathematica (Post ...
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: ...
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) { ...
0 votes
1 answer
71 views

2.0 tags API returns only created tags

Searching for tags, using the inname parameter AND a date range returns only the tags that were created in that period, not the tags that were used in that period. When searching by inname only, or ...
7 votes
1 answer
125 views

Can we have the display_name field in the /me/associated route?

I'm reading the Authentication documentation and I've noticed that the /me/associated route returns fields like user_id, badges, reputation but not the display_name, even specifying a custom Filter. ...
0 votes
1 answer
73 views

Add message ID to inbox items

Feature request: The inbox item object should include a message_id field. The ID should identify inbox messages uniquely within StackExchange.
2 votes
1 answer
103 views

/suggested-edits "Try it": Link for "suggested_edit_id" is broken

When using the "Try it" feature on /suggested-edits, the link for the suggested_edit_id points towards stackexchange.com and not towards the respective site. For example, retrieve data ...
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" ...
6 votes
0 answers
213 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 ...
11 votes
0 answers
238 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 ...
2 votes
1 answer
74 views

/answers endpoint is error-500-ing against many sites

Just calling the "/answers" endpoint, no specific arguments, and I'm getting 500 errors: http://api.stackexchange.com/2.0/answers?order=desc&sort=activity&site=gaming {"error_id":500,"...
7 votes
0 answers
517 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, ...
1 vote
0 answers
26 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 ...
2 votes
1 answer
111 views

Reputation API to display a reputation history

I'm building something similar to the reputation graph / summary on the SO user page. The answer explains that the /users/{ids}/reputation API method gives a sum of reputation for the period. So ...
7 votes
0 answers
513 views

MSOEngine Objective-C library

MSOEngine Basically MSOEngine (Matt's Stack Overflow Engine) is an Objective-C library that communicates with Stack Overflow. It uses the MIT License. You can find (the new and improved ...
8 votes
0 answers
385 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) ...
1 vote
1 answer
46 views

Inbox unread since parameter not working

The since parameter of /inbox/unread no longer seems to work. I enter a date after the creation date of the item currently unread in my inbox and still the item is returned. I try putting in ...
2 votes
1 answer
41 views

/users/{id}/tags/{tags}/top-answers returning answers by other users

According to the description, /users/{id}/tags/{tags}/top-answers should return answers by the user on that particular tag. Returns the top 30 answers a user has posted in response to questions ...
0 votes
1 answer
25 views

Relevance value on /similar route

Given that the /similar method can be sorted by relevance there must be a numeric rank for each question. Would it be possible to have access to the value? Off by default, but can be enabled by using ...
1 vote
1 answer
69 views

Typo in throttle violation error message

I was just playing around with the API locally and got throttled for the questions and answers methods (the only two I was using). Anyway, I noticed there’s a small typo in the error message that’s ...
0 votes
1 answer
38 views

Why does badges/ids/recipients return badges not users?

I can't understand why badges/{ids}/recipients returns badges and not users? You must pass the badge ID in, so it should be given that you already know what the badge is. If it returns 30 objects you ...
0 votes
1 answer
35 views

Error when requesting the last page of results.

When I try to view the following URL: http://api.stackexchange.com/2.0/questions?page=93781&site=stackoverflow I get the error: { "error_id": 500, "error_name": "internal_error", "...