Questions tagged [api]
Questions about the Stack Exchange API *only*. If your question concerns any other API, do not use this tag. For bugs, please (also) use the version tag, EG [api-v2.2], that the bug applies to.
454 questions
5
votes
1
answer
135
views
Using OR with featured questions
My question is similar to: Getting questions that have a specific tag or tags?
What I am trying to do is get a list of Featured questions within a list of tags. I have tried using the following:
...
3
votes
0
answers
67
views
API for the mobile feed, as seen in the Android app?
I'm creating an app for Windows 10, and I would like to provide a similar experience to the official Android and iOS apps (while keeping my own identity, of course).
One feature seen in the official ...
2
votes
1
answer
132
views
"We are no longer accepting questions from this account.". Error with write access, using the API
I have created an application for testing write-access APIs. After registration, I can successfully retrieve an access token by hitting the URL:
https://stackexchange.com/oauth/dialog?client_id=3973&...
2
votes
1
answer
96
views
Where are the built-in filters?
On api.stackexchange.com/docs/create-filter it states:
there are a number of built-in filters which cover common use cases.
Where can I find them? Can you make built-in filters a link?
I need only ...
3
votes
0
answers
68
views
It's taking two calls to /oauth/dialog/ to get an access_token? [duplicate]
When we send this request:
https://stackexchange.com/oauth/dialog/?client_id=`client_id`&scope=read_inbox%2cno_expiry%2cwrite_access%2cprivate_info&redirect_uri=https%3a%2f%2fstackexchange....
1
vote
1
answer
260
views
Implicit OAuth authentication is not redirecting
I'm trying to build a simple iOS application , with login feature to stack overflow network.
I've read the documentation and choose to use Implicit OAuth2.0.
I've already registered an StackApps, so ...
4
votes
1
answer
78
views
Limiting the number of items returned by a request?
How can I limit the amount of items returned to me when performing an API call?
I only want the top 10 most commonly used tags, by default I'm sent back 30. EG:
api.stackexchange.com/2.2/tags?order=...
4
votes
3
answers
341
views
Getting started: What kind of thing can we do with the SE-API that we can't do with the SE Data Explorer?
I want to know if my slender grasp of the latter will help me learn about the former.
5
votes
1
answer
545
views
How to register application for API implicit authentication?
I am working on an applet to for Cairo-Dock, to check the user's StackExchange inbox. Right now I've worked around this by using the genuwine json feed, but that's not stable since posts are marked as ...
1
vote
1
answer
204
views
How to increase the allowed number of API calls?
Stack Exchange provides the possibility to do a limited number of API calls per day from the same IP (10,000 if the customer registers the app).
Is it possible to get that number increased?
3
votes
2
answers
703
views
Silverlight download JSON from API fails
I cant seem to download the JSON for the questions on SO, I cant get the HTML and JSON from other addresses, but the SO API always returns jibberish.
Here is my code:
public void ...
3
votes
1
answer
163
views
CodeTipper - Easily reward quality content with BitCoin, DogeCoin and LiteCoin tips!
CodeTipper
https://codetipper.com
About
CodeTipper provides an easy way for you to express your appreciation for the quality advice, and expert assistance that Stack Exchange users provide everyday ...
2
votes
0
answers
278
views
Stack Overflow question downloader in markdown or HTML format?
I want to download a series of questions from Stack Overflow; is there a tool or API that can do this? The download could be in markdown or HTML format. I basically want an offline reference for those....
6
votes
0
answers
91
views
Use HTTPS urls for site logos returned by the API
Currently, the API returns resources like this:
"high_resolution_icon_url": "http://cdn.sstatic.net/stackoverflow/img/[email protected]",
"favicon_url": "http://cdn.sstatic.net/stackoverflow/img/...
0
votes
1
answer
170
views
API responses are sometimes missing fields
conclusion
never mind. the fields are marked as optional in the spec. it was late. sue me.
the q is left for reference
What is coming out:
{
"tags": [
"cakephp",
&...
2
votes
1
answer
85
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 ...
3
votes
1
answer
144
views
Is developing, with the Stack Exchange API, possible on my local machine?
I'm sorry if this question seems trivial for the most of you but I'm not very familiar with OAuth and the Stack Exchange API.
Is it possible to use this API in local environment for the development ...
4
votes
2
answers
2k
views
What is the throttle interval or threshold?
Resolution:
I have confirmed that a constant interval of 170 ms will run without error.
// 30 per 5 sec = 6 per sec = interval 166.6 ms
Soapi.RequestQueue.setInterval(170);
Soapi....
5
votes
0
answers
183
views
Filter doesn't consistently return comment bodies
I've been trying to set up a filter I can use with /questions/{id}/answers/ (using the UI at this link), which returns the following fields:
answer:
answer_id
body_markdown
comments
...
1
vote
1
answer
1k
views
Where is the API located?
I want to know where is the API located and from where to download?
2
votes
2
answers
255
views
Is there a way to determine total number of upvotes and downvotes (etc) for a user (regardless of reputation cap)?
For example, if you use the /users/<id>/reputation call, you get a list of reputation changes for the user, but it takes the daily reputation cap into account. What I would like is an API call ...
0
votes
1
answer
117
views
How to use the API to show the user reputation? [duplicate]
How do I use the Stack Exchange API to let my users enter their Stack Overflow URL and then extract their reputation and show it in a profile controller in Rails?
2
votes
0
answers
54
views
Add privilege_type to the privilege API results
The /me/privileges, /users/{id}/privileges and /privileges APIs are currently returning the fields of reputation, description and short_description.
Sample result as:
{
"reputation": 1,
"...
28
votes
0
answers
263
views
Deleting an application key? [duplicate]
There should be delete buttons on stackapps.com/apps https://stackapps.com/apps/oauth/ so we can delete API-keys.
Or at least de-activate them? I mean, cancelled projects, etc...
A deletion button ...
9
votes
0
answers
115
views
Access to my Upvoted Questions
I would like to see just my upvoted questions (Don't care about other users as such).
There are some related posts:
List of Votes by Authenticated users
Can I see my past upvoted questions in handset ...
4
votes
1
answer
97
views
Syntax for Adding a Question as a Favorite?
I would like to be able to have my application make a request to the Stack Exchange API to favorite a question for the current user. The API specifies that this can be done via:
/2.2/questions/{id}/...
3
votes
1
answer
115
views
Can I retrieve the API interfaces via the API?
I'd like to retrieve a list of methods with their arguments/defaults and their return types through automated means. Is this possible and, if so, how can I do it?
This isn't just for curiosity's ...
3
votes
1
answer
44
views
Top answers for a tag is returning user details?
I am expecting top answers for a particular tag here. But it returns user details.
Is anything wrong here?
Using:
/2.2/tags/java/top-answerers/all_time?site=stackoverflow
2
votes
0
answers
75
views
How to get more details flags from questions?
Short question:
How to get the flags that led up to a question being closed?
When we are going to flag a question, we have to look at /questions/{id}/flags/options first, and I can see
The option ...
2
votes
1
answer
95
views
/users/{id} and /users/{id}/reputation disagree over +2 accept-answer bonuses
I am using the 2.2 API to display user stats by quarter, but I also want to display reputation changes between any 2 dates.
I use the /users/{ids} API to get the summaries. For example, user 2403309 ...
5
votes
3
answers
215
views
API having more rights than a 0 rep user.
The fact that the API has total_upvotes and total_downvotes makes the fact that you need 1000 rep on the sites a bit weird. Are there more things that the API knows by default, which you can only ...
1
vote
0
answers
581
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 ...
2
votes
1
answer
169
views
How to use the Stack Exchange API in PhoneGap?
I want to write a program using PhoneGap. How can I use the Stack Exchange API in PhoneGap?
2
votes
1
answer
98
views
Obtain JSON equivalent of a full Q&A HTML page?
I want to write an application for which, after some logic to select a set of questions, it would be most convenient to get the whole set of stuff at once that is normally shown on a Stack Exchange Q&...
6
votes
1
answer
226
views
Please add tags to answers
Update: This was completed as of API version 2.1.
When querying any API method which returns answers (/users/ids/answers, /answers/ids, etc.) the result does not include the tag information for the ...
6
votes
0
answers
95
views
How to get unread reputation changes via the API?
I want to write a desktop widget that checks the Stack Exchange API every several seconds and tells me if there are any new reputation changes. I can't figure out what API method I can use for that.
...
1
vote
1
answer
129
views
How to sort by the newest question?
I'm trying to retrieve the latest questions posted in a particular tag.
What's the equivalent for:
http://stackoverflow.com/questions/tagged/php?sort=newest&pagesize=15
I see that v1.1 API is ...
1
vote
1
answer
159
views
Getting questions that have a specific tag or tags?
In the current API (2.1 and 2.2), how do you get questions that have a specific tag or tags?
EG:
All Stack Overflow questions asked in the past 2 months tagged 'ruby'?
All Stack Overflow questions ...
5
votes
2
answers
473
views
Is Stack API blocking Yahoo YQL services?
I was hoping to create OpenTable definitions for Stack services to use YQL, Yahoo's SQL to the web thing. It would have been interesting for experimenting, but also for mashups.
Unfortunately, it ...
3
votes
0
answers
232
views
Guidance on usage thresholds - specifically throttling [duplicate]
I am running a lot of tests and have started to get 403 errors.
I am using a key and certainly have not exceeded my quota.
Am I running foul of some yet unmentioned throttling threshold and if so, ...
9
votes
1
answer
363
views
Could/Should the API evolve more agile rather than being blocked by v2 writing (and authentication) features?
The activity on Stack Apps has dwindled noticeably; this might be a topic for its own discussion, however I'd like to revisit the API roadmap beforehand to set a proper stage and expectations in this ...
3
votes
1
answer
144
views
Add Twitter accounts on the /sites route?
Would it be possible to add references to the site Twitter accounts in the /site listing?
If your wondering what I'm talking about:
blog.stackoverflow.com/2011/01/twitter-question-feeds-for-stack-...
2
votes
2
answers
246
views
User "authentication" (validation?) in V1 of the StackExchange API
In a previous question, it was asked whether it is possible to authenticate a user through the Stackoverflow API? The short answer was no, not until version 2. Now I would like to know: is there any ...
2
votes
0
answers
119
views
Unhelpful error message when attempting to authenticate [duplicate]
I moved my app to a different server as part of a rewrite, and forgot to update the URL of the app on Stack Apps. When I tried to send a query to https://stackexchange.com/oauth and pass my (old, ...
1
vote
1
answer
518
views
Stackoverflow API - get “received” upvote count of a user.
I'm currently using the Stackoverflow API to get a list of detailed user information (via http://api.stackoverflow.com/1.1/usage/methods/users-by-ids). There is an attribute called "up_vote_count" ...
5
votes
0
answers
74
views
Please provide a way to get Post Edits, filtered by user
I recently discovered from this question that the API does not support filtering revisions by user. I am interested in looking at a user's edit history programmatically (with their permission) and at ...
3
votes
1
answer
73
views
How can I access all questions asked by an arbitrary user?
Within the web app for courses I organize, I'd like students to be able to provide their Stack Overflow username, so that we can pull in their most recent and unanswered questions. This information is ...
3
votes
1
answer
347
views
API Time zone difference problem
I am writing a .NET application with the Stack Exchange API (using the Stacky library) and I am using it to ask the server for some questions that occured in the last hour. However, I and the server ...
2
votes
1
answer
181
views
Possible to get more than 5 tags for /search? Or to use or-logic, for tags, in /questions?
This is the query I want to run:
/2.1/search?pagesize=100&page=1&order=desc&sort=creation&tagged=linux,ubuntu,bash,linux-mint,mint,linux-distributions,linux-distro,archlinux,&site=...
9
votes
1
answer
184
views
The API v0.9 2010.06.24.002 as seen by SOAPI
Stack Overflow API as seen by the SOAPI parser and code generator:
With the API freeze, changes to the vast API should slow to a trickle, making manual maintenance possible. At this milestone, I have ...