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.

Filter by
Sorted by
Tagged with
4 votes
2 answers
231 views

Is it possible to access data in real-time using the Stack Exchange API?

I want to show an animation of: Questions being asked and answered in the most popular tag Comments being posted New users joining All in real time. Is there access to real-time data?
Rakesh Adhikesavan's user avatar
2 votes
0 answers
82 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 have ...
Pwner's user avatar
  • 185
4 votes
0 answers
57 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 ...
Besi's user avatar
  • 533
3 votes
1 answer
136 views

Java exception when user age or location is unspecified in returned JSON

I am brand new to the 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 ...
gamermom's user avatar
4 votes
0 answers
60 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 ...
user avatar
2 votes
0 answers
61 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 ...
Sachin Jain's user avatar
5 votes
1 answer
99 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: ...
DaImTo's user avatar
  • 153
2 votes
0 answers
214 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....
Robin Rodricks's user avatar
3 votes
1 answer
147 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 ...
CodeTipper's user avatar
8 votes
1 answer
723 views

StackExchange API Java wrapper

Screenshot / Code Snippet StackExchangeApi api = new StackExchangeApi(key); api.authorize(authToken); StackExchangeSite siteService = api.getSiteService(StackExchangeSite.STACK_OVERFLOW); Response&...
hsz's user avatar
  • 181
12 votes
2 answers
6k views

Can the redirect_uri contain port number?

Is it possible to have the redirect_uri contain a specific port? For example: example.com:8080 Assuming that example.com is my registered domain, is the 8080 allowed? I have tried to put it as part ...
Andy's user avatar
  • 417
9 votes
1 answer
163 views

Is there any support for Area 51 in the new API?

Does the new API support Area 51? Will there be support in the future?
asheeshr's user avatar
  • 193
4 votes
0 answers
102 views

How to quickly retag a question from the API?

I'm playing with the write API, and I'd like to simply retag a question. This is the code I have so far: $editURL = 'https://api.stackexchange.com/2.2/questions/' . $question->{"question_id"} . '/...
user avatar
2 votes
0 answers
57 views

Request: Mark inbox items as read, now that API 2.2 is here [duplicate]

Now we have write API, can we get a method for the inbox to mark inbox items as read? Previously I believe the reason for not having this was the risk of apps marking items as read without the user ...
Jonathan.'s user avatar
  • 3,128
32 votes
1 answer
11k views

Looking for a beginner's tutorial to using the API

I see the Stack Exchange API but I'm unable to understand it. I don't think there is any fundamental tutorial showing how to use Stack Overflow fully in the API documentation. I want some fundamental ...
Ranjit's user avatar
  • 423
3 votes
2 answers
172 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?
Vladimir Oselsky's user avatar
2 votes
1 answer
106 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 ...
CrazyCasta's user avatar
1 vote
1 answer
156 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?
Anton's user avatar
  • 19
5 votes
1 answer
317 views

Is there an offline copy of the API documentation?

I'm trying to find a way to get all the information in the API in one printable PDF, complete with the examples given in the documentation. Is there anyway I can do this?
Sean Allred's user avatar
2 votes
1 answer
222 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: https://api.stackexchange.com/2.1/posts/144890/comments/add?site=meta.stackover‌​flow&key=ArbQthisismykeyjyecuJQ((&...
user avatar
4 votes
0 answers
602 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 ...
art's user avatar
  • 141
-3 votes
1 answer
89 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 ...
austin's user avatar
  • 171
3 votes
0 answers
86 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.
Johannes Kuhn's user avatar
3 votes
0 answers
60 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 ...
Benoit Duffez's user avatar
2 votes
1 answer
144 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?
互联网fans's user avatar
0 votes
1 answer
261 views

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?
Mohan Raj's user avatar
  • 111
0 votes
1 answer
49 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 ...
tolgap's user avatar
  • 103
1 vote
1 answer
99 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 ...
Amal Murali's user avatar
3 votes
0 answers
79 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 ...
Dan Lugg's user avatar
  • 131
2 votes
1 answer
3k 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 Ionic.Zlib....
Steve's user avatar
  • 145
4 votes
1 answer
1k 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 ...
Ionică Bizău's user avatar
2 votes
1 answer
86 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?
Ionică Bizău's user avatar
4 votes
1 answer
287 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 ...
Ionică Bizău's user avatar
8 votes
2 answers
757 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 ...
user avatar
3 votes
1 answer
339 views

Stack Exchange OAuth2, explicit access-token response format does not adhere to RFC6749 standard

I'm using the Stack Exchange v2.1 API. I'm using the explicit OAuth 2.0 flow, but it seems that the access token response step does not adhere to the RFC 6749 standard. Specifically, the Stack ...
Wu-Man's user avatar
  • 131
1 vote
1 answer
623 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 ...
RobSiklos's user avatar
  • 113
2 votes
1 answer
174 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=...
gyaani_guy's user avatar
1 vote
1 answer
70 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?
estebane97's user avatar
0 votes
1 answer
87 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 ...
rekire's user avatar
  • 185
1 vote
1 answer
2k views

How to login programmatically on Android?

I think my question is not a duplicate of this one: How to login programmatically I have read the authentication document but, still, I am unable to get what's needed to login programmatically on ...
Raynold's user avatar
  • 113
1 vote
1 answer
2k views

json with list of all user's on stackoverflow

I am trying to get the list of all user's in JSON format (as provided by the API) (using jQuery jsonp) What I found is: pagesize – The number of collection results to display during pagination. ...
JAVAGeek's user avatar
  • 113
10 votes
1 answer
4k 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, ...
Ionică Bizău's user avatar
1 vote
1 answer
129 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 ...
Bob Walsh's user avatar
  • 113
7 votes
1 answer
519 views

No website (yet), how to register?

I just started developing a Stack Overflow 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 ...
11684's user avatar
  • 123
1 vote
0 answers
226 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 ...
Animesh Pandey's user avatar
2 votes
1 answer
169 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 ...
marcamillion's user avatar
2 votes
1 answer
53 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 ...
Eugen's user avatar
  • 123
6 votes
1 answer
70 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 ...
Alana Storm's user avatar
1 vote
1 answer
77 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 ...
sumeet kumar's user avatar
1 vote
0 answers
49 views

Overwhelmed by unorganized information [duplicate]

As you can see I am a newbie, and trying to use Stack Exchange 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 ...
socialMatrix's user avatar

1
4 5
6
7 8
10