You need help with the use of the Stack Exchange API, apps built on the API, or assistance building scripts that work on Stack Exchange websites.
45
votes
0answers
13k views
Sample Application: World's Worst StackOverflow Clone
Screenshot
About
The World's Worst StackOverflow Clone is an open-source example application for the stack exchange API. It is meant to help programmers get up to speed on development with ...
6
votes
0answers
99 views
suggest add favicon.ico to api endpoints
It will reduce 404 entries in your logs and in our browser based fiddler results.
Cheap, easy, fast.
GET /favicon.ico HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 ...
5
votes
0answers
49 views
Why is my API quota not resetting after UTC reset?
According to How API Keys Work, the default daily API limit -- which is per site, per day -- is 300.
I started with 300, as expected, but over a period of days, I've noticed that the remaining quota ...
5
votes
0answers
135 views
How to get the count of a query efficiently
To get the count of a query without returning results, simply specify pagesize=0.
http://api.stackoverflow.com/0.9/users?filter=mike&sort=name&pagesize=0
{
"total": 1161,
"page": 1,
...
5
votes
0answers
66 views
API Parameters: Consolidated Observations
This wiki question is meant to be a central location for observations and suggestions in the interest of shaping the api meta data.
Perhaps items can be removed when accepted and resolved as ...
4
votes
0answers
25 views
Why does adding fromdate=<long time ago> return a different set than without it?
I've been trying to get some stats for the Windows 8 challenge over on Super User. I've noticed that there are some questions missing if I add fromdate=0. Why is this?
Without fromdate:
...
4
votes
0answers
177 views
Announcement: StackExchange API Development Wiki
RIP August 24, 2010 - April 26, 2013
Due to lack of interest and the increasing burden of maintenance, I have decided to close down this wiki. Most of the information that it contains is ...
3
votes
0answers
19 views
Should feature-requests, for third party apps, be flagged as “not an answer”?
I spotted this "answer" as a first-time post:
Feature Request
Please add support for proxies.... It would be helpful to people behind proxies.
Like "ME"
I was going to flag it as "Not ...
3
votes
0answers
15 views
How to access global stackexchange user favourites in a feed?
I was looking for a way to IFTTT my questions, and found this recipe, that automaqically saves your favourited questions to Evernote. Nice. It uses stack2rss (thus the SE API) to provide a feed with ...
3
votes
0answers
45 views
Is it OK to have a test account for a developing client?
I'm currently trying to implement an agorava component for Stackoverflow, and for testing purpose, i would like to create a test account, which would have one question asked, and would maybe send ...
3
votes
0answers
28 views
All updates (answers, comments etc) using stack exchange API
Is there anyway to get information about any change using the stack exchange API's? i.e. if someone leaves a comment or votes on an answer/question?
checking for answer changes is easy cause its a top ...
3
votes
0answers
28 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.
3
votes
0answers
30 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?
...
3
votes
0answers
38 views
2.0 API get votes
I've been searching the 2.0 API for a list of my own (up and down) votes. I don't see them in the API.
I don't think this is a prohibitively resource intensive query or that it can be used to ...
3
votes
0answers
63 views
recommended buffer size for markdown fields is conservative
I ran into a truncation error while inserting user data into a database using the documented field length (buffer size) of 3000.
So I redefined to nvarchar(max), pulled all users in the stack ...
2
votes
0answers
17 views
How do I get the no. of upvotes a person has received for a particular tag?
I need the list of users who have more than 10K reputation and then among those users I need to see which user has how many up-votes for each tag. I don't there is a direct query that will give me ...
2
votes
0answers
24 views
Client Side Flow security problem
I'm not pretty sure, but if my app is enabled to Client Side Flow Authentication, then anyone with my client ID (easily found for being embedded or by sniffing the initial request) would be able to ...
2
votes
0answers
24 views
Is it safe to change the OAuth Domain?
I'm about to develop a small application that will use the Stack Exchange API. I understand that I have to provide an OAuth Domain when I register the application with Stack Exchange. Right now, I am ...
2
votes
0answers
37 views
Clarification on related tags for a tag returned by API
I was assuming that the related tags API call, returns all the tags that co-occur with the input tag. But a closer look at the API documentation indicate the following:
Returns the tags that are ...
2
votes
0answers
24 views
What to do with “OAuth Domain” in the registration page for a browser user script?
I want to register my first project so I can make more API calls without hitting the limit now that it seems to be good enough for others to use.
My project is a browser userscript that works with ...
2
votes
0answers
40 views
edit-comment method returns 405 error
Trying to understand how edit-comment method could be used.
I passed valid token with write_access, valid key, and existed comment id, but all I've got is:
{
"error_id": 405,
"error_name": ...
2
votes
0answers
11 views
Using Stack2RSS, why can I get feeds for some SE sites and not others?
I can use Stack2RSS to easily get RSS feeds of some StackExchange sites but not others:
The pattern if I understand the API is http://stack2rss.stackexchange.com/{SiteName}/questions
Substituting ...
2
votes
0answers
22 views
How should we announce updates to our apps, scripts, libraries, etc?
Is there a recommended best way to let the stackapps community know that we've released an updated version of one of our projects?
We can edit the project's page and bump the version number, but this ...
2
votes
0answers
29 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 ...
2
votes
0answers
17 views
FAQ's URL for any SE Site?
Since I cannot find anything relevant in the API (I guess /stats endpoint would be most relevant):
Is it safe to assume that every SE Site has its FAQ at location: site_url/faq ?
2
votes
0answers
41 views
How do I grab the CSV from a Data Explorer URL?
I'm building an app that works by users punching in big lists of questions. And I want them to be able to use the Data Explorer to create these lists.
My preferred way of getting the data would be a ...
2
votes
0answers
31 views
/users/questions with content is very latent
I am seeing response times of up to 30 seconds for a page of 100 questions.
http://api.stackapps.com/1.0/users/14/questions?answers=true&body=true&comments=true&page=1&pagesize=100
...
2
votes
0answers
103 views
How the apps-libraries will be judged for the contest?
Do you know how the apps-library will be judged in term of awesomeness? Is there something more official than Jeff Atwood's contest post on the blog?
2
votes
0answers
33 views
How should I understand “timeline_type”: “votes” record in question timeline?
Take a look at the partial results of this query:
{
"timeline_type": "votes",
"post_id": 2544061,
"creation_date": 1269993600,
"owner": {
// omitted for brevity
},
"action": "7 ...
1
vote
0answers
22 views
Wrapper implementation method to get user notifications in Stack Exchange?
I'm trying to build an app that requires me to get the user notifications for a particular Stack Exchange user.
Now, I'm trying to use Java to accomplish this and I came across this wrapper library: ...
1
vote
0answers
20 views
No website (yet), how to register?
I just started developing a StackOverflow client, and wanted to add authentication. I found out I needed to register for that and wasn't sure if it was okay to register your app when it is not yet ...
1
vote
0answers
10 views
On Personal Keys and Limits
I'm currently in the early stages of developing an Emacs major mode for the Stack Exchange Network (see this question if you're interested in helping at the moment).
I'm a little torn on how to set ...
1
vote
0answers
34 views
Overwhelmed by unorganized information
As you can see I am a newbie, and trying to use stackexchange api for a school project.
I spent 3 hours just trying to understand How to get started. Is there an example for me to follow? or A ...
1
vote
0answers
15 views
Better Call /me maybe?
I am using implicit OAuth 2.0 flow, hence requesting for a token first.
Now when I want to know which user has logged in, I have to make request to /me endpoint to get all of the data about the user, ...
1
vote
0answers
20 views
Are “api-key” and “app-key” the same thing?
When tagging my last couple of questions about registering for a key I noticed there are two similar-looking tags:
api-key - 17 uses and a tag wiki
app-key - 8 uses, no tag wiki
Do they ...
1
vote
0answers
71 views
Why does the web service fail sometimes for the Stack API?
It seems to have happened all of the sudden. My calls to the web service fails. What is the limit of calls per day with a registered app? I can't seem to remember where it says that, I can't seem to ...
1
vote
0answers
46 views
String formatting in returned JSON objects
So I sat down this evening to play with the Stack Exchange API. I downloaded RestSharp, and used it to call the API. One thing the struck me was how strings are formatted, with regards to non-ASCII ...
1
vote
0answers
20 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 ...
1
vote
0answers
42 views
Why user/top-answer-tags doesn't return any results?
I userd python to call
ansauthor=site.user(641)
in the cooking website.
then I used ansauthor.top-answer-tags
However, it doesn't return anything.
Then I called ansauthor.top-answer-tags.fetch()
It ...
1
vote
0answers
86 views
How to get a users reputation ranking/position?
Using the SO API request http://api.stackoverflow.com/1.1/users/{userId}, I can get a user's current reputation score with no problems. What I'd like to know is where the user's rank in the set of all ...
1
vote
0answers
20 views
Does stackapplet support an http proxy ?
I installed stackapplet on Ubuntu desktop 10.04 from their PPA. This installed stackapplet version 1.5+151~lucid1. This is my computer at work and it is behind an http proxy. I couldn't find anywhere ...
1
vote
0answers
54 views
Maximum tags for a question on any SE site
Is the maximum tags for all SE sites (and those in the future) 5?
1
vote
0answers
67 views
Why have routes /badges/name and /badges/tags been favored over respective query parameters for /badges?
I realize that the API is frozen, hence tagging this as support rather than feature-request or bug - I'm irritated about the two routes /badges/name and /badges/tags:
They seem to simply filter down ...
1
vote
0answers
65 views
What's the default fromdate for the /users/{id}/reputation route?
I'm getting different amounts of positive-rep when I use the fromdate and todate parameters with the /users/{id}/reputation route than when I don't use those parameters and accept the defaults. I ...
0
votes
0answers
23 views
Why does my request for pagesize=100 only return 30 results?
I am running the following query, and ones very similar to it, to retrieve a list of my own answers:
...
0
votes
0answers
39 views
How to write a first application?
How to write the first applications to use StackOverflow, for C# under the platform WinRT?
How to use the API-functions?
Is there a ready-made packages for under winRT (NuGet)?
Are there a step by ...
0
votes
0answers
10 views
How can I tell if a revision GUID is going to return a NULL body?
I'm trying to use the GUID returned by the revisions object to create links to raw markdown pages on a given SE site. For instance, if I wanted to see the last revision of:
...
0
votes
0answers
28 views
Careers 2.0 - Member profile button / overview
I've been going around Stackapps, stackoverflow and all throughout Google to find a widget such as this, or a tool such as this for the Careers 2.0 page. Would like to inlude it on my personal site. ...
0
votes
0answers
21 views
help with good way to perform SQL queries programatically (and my failed attempt to use OData)
I'll give you the context of what I was doing in case anyone wants to offer suggestions for the best route I might take to achieve my goal, which is to have easy access to do queries on the newish ...
0
votes
0answers
13 views
is there an api call to request all valid access tokens?
is there an api call to request all valid access tokens? Especially no_expiry ones. It seems like if you lose track of a no_expiry access token there's no way to invalidate it. Is that the case?