All Questions
300 questions
5
votes
1
answer
320
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?
2
votes
1
answer
227
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.stackoverflow&key=ArbQthisismykeyjyecuJQ((&...
4
votes
0
answers
613
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
...
-3
votes
1
answer
90
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 ...
3
votes
0
answers
63
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 ...
2
votes
1
answer
145
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?
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?
1
vote
1
answer
102
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 ...
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....
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 ...
2
votes
1
answer
89
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?
4
votes
1
answer
288
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 ...
8
votes
2
answers
788
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
1
answer
624
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 ...
2
votes
1
answer
175
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=...
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?
0
votes
1
answer
89
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
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 ...
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. ...
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, ...
1
vote
1
answer
134
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 ...
7
votes
1
answer
550
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 ...
2
votes
1
answer
173
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 ...
6
votes
1
answer
72
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
1
answer
79
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
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 ...
3
votes
1
answer
169
views
How to access my App info
I've registered for an app yesterday, but I'm not finding where should I go to see/edit its info again.
I've search through profile, at stackexchange.com but couldn't find it.
1
vote
1
answer
39
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 ...
6
votes
1
answer
106
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
0
answers
65
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
1
answer
2k
views
How to get Question/Answer body in the API response using filters?
I am specifically looking to get the question/answer body back. Is it possible?
I am looking through the API documentation and I'm confused about how to make a call with filters.
Sample call I'm ...
13
votes
2
answers
620
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 ...
1
vote
2
answers
135
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 gaming.stackexchange....
1
vote
0
answers
566
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
156
views
Stack Exchange API not realtime?
I was testing the inbox/unread API but noticed that there is a big delay between one gets a message, and this message gets included in the API response. Like one minute or more.
Is this API not real-...
3
votes
0
answers
86
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
1
answer
84
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?
9
votes
2
answers
9k
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
...
1
vote
1
answer
91
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:
{"error_id":500,"error_name":"...
2
votes
1
answer
217
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": ...
0
votes
1
answer
603
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 receiving a 400 error.
I am able to complete the OAuth2 dance and have been able to capture the access token ...
8
votes
1
answer
2k
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):
"...
2
votes
1
answer
50
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
1
answer
109
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
http://api.stackoverflow.com/1.1/users/...
5
votes
1
answer
56
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 Stack Apps running on 1.1 calls not affect my limits for apps running on 2.0 calls?
5
votes
1
answer
531
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 ...
2
votes
1
answer
83
views
Answers without owners
Is it valid for Stack Overflow 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 ...
3
votes
1
answer
126
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" ...
20
votes
3
answers
485
views
Is there an API to upload images to SE's imgur installation?
Is there an API for uploading images to the StackExchange-specific imgur installation? I could use the main imgur site, but they don't keep the images indefinitely.
Use case: It would be ...
1
vote
1
answer
90
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 ...