A question about the Stack Exchange API: usage, functioning, guidelines, etc.

learn more… | top users | synonyms

3
votes
0answers
10 views

API response doesn't indicate the nature of a rejected question POST

I have a question, which I post to Stack Overflow. The addition of the answer gets rejected and I know that it is due to the fact that I used the tag coredata rather than core-data. When I do this on ...
0
votes
0answers
19 views

Brand new to Stack Exchange API

I am brand new to Stack Exchange API and Android (well, self taught in the last four months). I have been working on creating a school project focused around Android and JSON. My initial idea was to ...
3
votes
0answers
23 views

Please add a “self answer” flag to the answer results/object

Is there an easy way to tell if an answer is from the question poster? I'm working on Blaze, and I'm grabbing answers from the /answers method. I'd like to indicate if the answer is from the question ...
2
votes
0answers
15 views

Version used by StackExchange API if version is not specified in api calls

I have used some StackExchange API calls in my chrome extension - StackEye. With the release of API 2.0, I want to update the api calls so I wanted to know New things available in 2.0+ which were ...
3
votes
1answer
26 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: ...
0
votes
0answers
33 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 ...
2
votes
0answers
25 views

Stack Exchange API testing for OAuth application - please ignore (Placeholder)

As seems to be the trend, I'm conducting a number of API tests. A dedicated place for these would be nice - I hate to clutter up the feed with this. So feel free to ignore these and move onto ...
1
vote
0answers
31 views

StackExchange API Java wrapper

Screenshot / Code Snippet StackExchangeApi api = new StackExchangeApi(key); api.authorize(authToken); StackExchangeSite siteService = api.getSiteService(StackExchangeSite.STACK_OVERFLOW); ...
2
votes
0answers
50 views

Stack Overflow test App (Placeholder)

This is a test application playing with OAuth. I have no problems; I'm just trying to get OAuth to work with the Stack Overflow API. There should be some sort of Sandbox accounts so you don't have ...
2
votes
0answers
56 views

StackApps for Windows Phone 8

Can anyone suggest a good app for Windows Phone 8 or let me know Where an I find API to build my own? Thanks.
1
vote
1answer
52 views

API support for close actions

Background I would like to create an app for general Stack Overflow browsing to improve upon the UI. One of the things that I am targeting is the lack of certain options in the close dialog. I ...
1
vote
1answer
60 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?
2
votes
1answer
48 views

Why am I getting a 404 when trying to post a comment?

I'm dabbling around in /posts/{id}/comments/add, and I'm trying this query: ...
1
vote
0answers
53 views

What should I put in redirect_uri for implicit OAuth 2.0

From the document I can't figure out what value should I put in redirect_uri if I want to implement iPhone app. I try https://stackexchange.com/oauth/login_success but it not work and show this error ...
0
votes
1answer
36 views

How do I make sure my access_token gets passed?

I am authenticating via the explicit method, but I still get a 502 throttling error. Is my key not getting passed? Do I need to pass the access_token with the request? if so. How do I do that. I am ...
2
votes
0answers
17 views

Include creator in tag_synonym

When I looked at recent tag synonyms there is a Creator row, but I can't query this data with the API. I'd like to see this data added, and a list of all approves would be nice too.
1
vote
0answers
54 views

Stack Exchange API: getting the activity of a user

I am trying to extract the user activity using the Stack Exchange API? I am trying to extract all of my activities (questions,answers,edits and my voting). Does anybody know how this can be handled? ...
2
votes
0answers
27 views

Is it allowed to sell an app or get revenue with the use of the API? [duplicate]

I've been reviewing the terms of use of the API, but I prefer to ask my question straight here in order to be 100% sure. Is it allowed to create an app that: is paid, which revenue goes to the ...
0
votes
0answers
38 views

Authentication in browser with access_token

First here is a brief description of what I want to achieve: I have a valid access_token in my app and I want to be able to open stackexchange sites inside an application in a web frame. The problem ...
1
vote
0answers
14 views

Mark notification/inbox item as read [duplicate]

Is there a proper way in API to mark an inbox item or a notification as read without actually viewing one in a browser?
1
vote
1answer
100 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?
-1
votes
1answer
89 views

PHP: Post to Stackoverflow

Is it possible to post a question to Stack Overflow using PHP in the same way that it's possible to post content to Facebook?
0
votes
1answer
23 views

Support for OR constraint when querying questions based on tags [duplicate]

Right now, there is no way (as far as I know) to query for questions based on multiple tags using an OR constraint. You can query for questions tagged with multiple of these tags, but not with one or ...
0
votes
0answers
28 views

API call that returns top questions based on a list of user tags

I might be losing my mind, but there is no API method that returns the "interesting" tab on the homescreen of a StackExchange site. It's one of the most important calls in my opinion. I would like to ...
0
votes
1answer
67 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 ...
3
votes
0answers
47 views

SE API V1.1 documentation, date errata

The Stack Exchange API, version 1.1, documentation is ever so slightly confusing wherever Unix timestamps are mentioned (perhaps any ranges, I haven't dug too deeply) For instance: todate – Unix ...
1
vote
1answer
364 views

Bad format returned by Stack Exchange API, not GZip?

I'm attempting to request some information using the Stack Exchange API. Supposedly, it returns responses compress with GZip. Using Microsoft's System.IO.Compression.GZipStream or ...
2
votes
1answer
47 views

Get questions with body and answers

How can I get the latest 30 questions with body and answers using the api? And then, I want to get only first most voted 3 answers for each question. Is this possible with only one request? To get ...
2
votes
1answer
36 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?
3
votes
1answer
60 views

How do I parse the dates from the API?

I see that JSON returned by the API contains dates in the following format: "creation_date":1364546475 ^^^^^^^^^^ What's the meaning of it? How can I parse it to get the date in the ...
1
vote
1answer
67 views

What is the right way to create a Stack Exchange API filter?

I'm trying to create a filter by following the documentation, but a few things are quite unclear: How do I create a filter that does not have a base filter? I'm creating a filter without a base so I ...
1
vote
1answer
75 views

How can I use the Stack Exchange API to get the total score on answers to questions with a specific tag?

I want to use the API to get the sum of all scores of my answers to questions having a specific tag. I started using top-user-answers-in-tags method, but it only returns the top 30, whereas I want ...
1
vote
1answer
57 views
1
vote
1answer
50 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
67 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 ...
2
votes
1answer
401 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
72 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
123 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
61 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
37 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 ...
4
votes
1answer
42 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
49 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
41 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
45 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 ...
5
votes
1answer
112 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
25 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 ...
5
votes
1answer
34 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
41 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
66 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
167 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 ...