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

learn more… | top users | synonyms

0
votes
0answers
8 views

How switch user accounts on the same device?

The Problem I'm integrating Stack Exchange API on iOS (iPhone). I've run into a situation where I can't log out and authenticate with a different account. I am stuck with the first account that I ...
1
vote
0answers
31 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 ...
4
votes
0answers
22 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 ...
3
votes
0answers
24 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
16 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
28 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
36 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 ...
2
votes
0answers
51 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 ...
1
vote
0answers
32 views

StackExchange API Java wrapper

Screenshot / Code Snippet StackExchangeApi api = new StackExchangeApi(key); api.authorize(authToken); StackExchangeSite siteService = api.getSiteService(StackExchangeSite.STACK_OVERFLOW); ...
1
vote
1answer
89 views

Abstract paged results to enable cleaner libraries

It would make great sense for paged results array property to have a common name, items perhaps. For those writing in languages that support 'generic' constructs, this would simplify the code ...
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
0answers
57 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.
5
votes
0answers
76 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 ...
2
votes
1answer
50 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: ...
2
votes
0answers
46 views

Would it be possible (in a future API release) to combine queries?

I've been doing a lot of work on StackMobile lately and I made the following observation: Many of the pages (especially the ones that display a user's profile) make a number of requests to display ...
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
vote
0answers
54 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 ...
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 ...
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
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 ...
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?
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 ...
-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
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
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 ...
1
vote
1answer
76 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 ...
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
368 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
49 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
2answers
41 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 ...
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?
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 ...
2
votes
1answer
50 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 ...
5
votes
1answer
114 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 ...
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
407 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
124 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 ...
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 ...
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 ...
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 ...