A question about the Stack Exchange API: usage, functioning, guidelines, etc.
1
vote
1answer
24 views
Get all sites of type “main_site”
Is there a way to get all sites of type main_site from the /site method?
If not, what's the best way to get that list? Should I get all sites with a huge pagesize and then filter it in my App?
0
votes
1answer
49 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 ...
1
vote
1answer
40 views
Get questions content from StackOverflow API
I need to get the question content from StackOverflow site.
I already built the functions that parse the HTML for a question, and return me the question content.
But, I found that there is an API, ...
1
vote
0answers
34 views
Attribute error while using the stackoverflow api wrapper for python on IDLE
This is the code that I use to access Stack Overflow:
from stackexchange import Site, StackOverflow
so = stackexchange.StackOverflow()
for q in so.questions(pagesize=50):
print q.title
It runs ...
0
votes
1answer
43 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
...
0
votes
1answer
48 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 ...
2
votes
1answer
22 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 ...
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. ...
4
votes
1answer
37 views
Does the API have a method to get the total favorite count of a question?
Like it says in the title, is the total favorite count of a question exposed anywhere via the API? I know about the favorites method, but that looks like it will give you the specific favorites of a ...
1
vote
1answer
34 views
Posting answers via Stack Exchange API
Can I post answers via an app using the API, is it possible? And if so, what are the limitations; linked with the reputation of users?
So if someone has 1 reputation he can also post answers, like a ...
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
38 views
Please differentiate between meta sites for beta versus normal sites, in the /sites method
Currently, in the /sites method, a site can have a site_state of: normal, open_beta, closed_beta, or linked_meta.
This makes it easy to tell if a main site is in beta or not. But it becomes a 2 or 3 ...
2
votes
1answer
43 views
How about linking Stack Exchange to IFTTT?
Why is there no channel for Stack Overflow on IFTTT?
It would be great if I can mash up the Stack Exchange website with other web-based services like Google Reader or GMail, receive a SMS or ...
1
vote
1answer
22 views
Questions returned by /questions/{ids}/related do not contain link properties
The API docs claim that /questions/{ids}/related return question objects, but I can't find a link property on the returned questions at all.
Is there some sort of workaround to find the link for a ...
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 ...
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 ...
3
votes
0answers
64 views
API v1.1 users call returns association_id for which the Stack Exchange web site has no profile
For a particular user, the users API v1.1 call returns an association_id that gives a "Page Not Found" error where the Stack Exchange profile should be, though their Stack Exchange profile can be ...
5
votes
0answers
51 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 ...
0
votes
0answers
10 views
How to tell if a given tag name is a synonym?
I've found in one of my projects that I sometimes have a string that I need to check as to whether it's a tag or a tag synonym.
To check if it's a tag synonym is easy using /tags/{tags}/info
I can ...
0
votes
0answers
13 views
The 1.0/sites API call is not returning all stackexchange sites
Version 1 of the /sites API call does not appear to be returning all sites currently in the StackExchange network.
Compared to calling version 2 of the API with a large page size, the list of sites ...
1
vote
2answers
28 views
How to get the site name from document to pass to API?
Most APIs take a parameter site which must be set to the name of the site your queries are about.
For meta.travel or travel.
But of course sites have various names, for example ...
0
votes
0answers
19 views
Could we add “has_tag_wiki” and “has_tag_wiki_excerpt” flags to the tag info API?
Currently the only way to check for existence of tags wikis and tag wiki excerpts is to fetch their actual contents using the tags wikis API
/tags/{tags}/wikis
But this returns the entire text ...
3
votes
1answer
29 views
Querying “standard meta tags” for their tag wikis wrongly says they have none
I'm checking which tags have tag wiki excerpts in my code. It looks like /tags/{tags}/wikis is the right API since the tag info API doesn't even give a boolean for tag wiki excerpt presence.
But ...
1
vote
1answer
53 views
Best strategies for calling the API with full throttling support?
I know this would be subjective on a normal SE site but as the relevant chat rooms are mostly dormant, we have no meta site, and nobody noticed when I asked if this kind of question is OK here, I'm ...
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 ...
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 ...
5
votes
1answer
43 views
Can you access a user's tag reputation/score via the API?
Is it possible to retrieve a user's tag specific reputation/score via the API? If not, is it possible to make an API call that returns enough information that you can calculate the value?
0
votes
0answers
35 views
How can I auth app to a browser extension?
I've registered a client ID, but all samples is for online usage.
How can I complete the authentication flow in a browser plugin?
Such as chrome extension, it has a self domain like ...
6
votes
2answers
154 views
Why can I access the API from a browser but not wget?
If I try to access the following from firefox everything works even if I'm not logged in
http://api.stackexchange.com/2.0/users/19068?order=desc&sort=reputation&site=stackoverflow
However
...
10
votes
0answers
146 views
StackMaps - Interactive Maps of Stack Exchange Communities
StackMaps - Interactive Maps of Stack Exchange Communities
http://johndbritton.com/stackmaps
What
Easily view users from your favorite Stack Exchange community on a map.
Why
I wanted to make it ...
1
vote
1answer
43 views
/me API endpoint returning 500 error
I'm making an authenticated call to /me:
https://api.stackexchange.com/2.0/me?access_token=[redacted]&site=stackoverflow&key=[redacted]
But it's returning:
...
3
votes
1answer
43 views
Typo in API docs: “temporarility_unavailable”
https://api.stackexchange.com/docs/authentication
"temporarility" should probably be "temporarily"
2
votes
1answer
90 views
API returning character entities in JSON
I noticed display names in the JSON contain HTML character entities; e.g.
/2.0/users/718618?order=desc&sort=reputation&site=stackoverflow
Gives me:
{
"items": [
{
"user_id": ...
1
vote
1answer
29 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
1answer
93 views
400 Error when attempting to retrieve authenticated user data
I am attempting to use the /me API to retrieve an authenticated user's details but I am recieving a 400 error.
I am able to complete the OAuth2 dance and have been able to capture the access token ...
1
vote
1answer
67 views
Making use of the *“has_more”: true* json attribute in the Json response from stackoverflow
When issuing requests to the stackoverflow-api, I set the pagesize to a 100 (which is the maximum possible). However, some json responses contain this attribute (normally at the very bottom):
...
3
votes
0answers
161 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 ...
2
votes
1answer
28 views
Is there a way to get the edit URL for a tag wiki from the API?
I've been playing with a little webapp for tags of a certain kind for travel.SE (current pre-alpha version gist on github).
One thing I would like to do is add links for the various tag-related ...
2
votes
1answer
56 views
Are there any plans to add Inbox functionality to SO API?
So, 3rd party applications will be able to notify users about new answers and comments.
1
vote
1answer
54 views
Pagination of users ordered by reputation
I know I can retrieve a page of users ordered by reputation using these apis:
http://api.stackoverflow.com/1.1/users/?sort=reputation&order=desc&page=1
...
2
votes
1answer
31 views
Possible to return newest questions with a certain tag?
I am not finding a way to return a list of new questions by tag with the new stack exchange api.
Am I missing something or is this not available? If this is not available, I most certainly request ...
5
votes
1answer
36 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 StackApps running on 1.1 calls not affect my limits for apps running on 2.0 calls?
4
votes
1answer
102 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
1answer
30 views
Why don't the tags APIs expose the tag IDs?
It seems that all tags have an internal ID, for instance here on stackapps, the api-v2 tag has ID 2442 which you can only see if you edit the api-v2 tag.
As far as I can see none of the APIs expose ...
3
votes
1answer
34 views
Is there an API to fetch tags related to a given tag?
I'm interested in making a tool that explores the tags of a site for tags which should be merged or mention each other in tag wikis etc.
On the page of any given tag there is a column on the right of ...
3
votes
0answers
107 views
Apigee API Console for the Stack Exchange API
Screenshot / Code Snippet
About
Apigee API Consoles make it easier to learn, explore and test APIs by letting you browse all methods, send and view request/response pairs and share what you ...
1
vote
1answer
39 views
How many simultaneous queries may I make of the same Stack Exchange API?
I've been playing with some of the APIs that have paged results.
I've been doing a first call with pagesize=0 to determine how many pages there are then running a loop querying each page.
In my case ...
2
votes
1answer
45 views
Answers without owners
Is it valid for StackOverflow data to have an answer that does not have an owner? For example if you hit the following API url http://api.stackoverflow.com/1.1/answers/18, it does not bring back an ...
2
votes
1answer
45 views
List of possible values for user_type on API for users
I'm starting to work with the API and I see on the call to retrieve a user or multiple users one of the fields that is returned is user_type. So far I have only seen a value of "registered" come back ...
1
vote
1answer
31 views
Is there a maximum on the number of search results returned (using the SO API)?
I was trying to do statistics on post from some not-too-popular tags like matlab, using the search method. It appears that it will never return a total larger than 2000. Is this a hard limit that ...
