Tag Info

Hot answers tagged

15

Purposefully not shown. The potential for abuse is way too high.


12

You'll need to quote that URL. wget 'http://api.stackexchange.com/2.0...&site=stackoverflow' ^ ^ (And note that the payload is gzip-compressed.)


8

All api results are gzipped. So what you are looking at is a gzipped binary blob. Simply decompress using a gzip implementation in R.


7

You need to encode the # character (to %23) http://api.stackoverflow.com/1.0/questions?title=true&tagged=c%23


7

As long as has_more is set to true there is more data available. You can get this data by increasing the page parameter in your request subsequently and running new request with that changed page parameter. The next url for your example would then be ...


6

They have been very clear that version 1 of the API will be read only and they will be revisiting the POST type features (like adding new questions and answers) for the next version of the API. You can post and vote for the features you would like to see in the next version here. You can also view any feature requests which have been deferred to some future ...


6

http://stackauth.com/1.0/sites will get you information about all the sites.


6

This isn't an answer, just an agreement with the original poster (though I might have couched my feelings in slightly less confrontational language). The API is beginning to feel rather like abandonware. My reasoning… Since the competition winners were announced, the API's not even been mentioned on the blog We've had no official word on updates and ...


5

v1 of the API lacks user auth, so such restrictions are unenforceable. We'd have to deny it to everyone (and arguably, a large percentage of the end-users of the API are going to be over that rep limit) which, to me, would be kind of overkill.


5

You can fetch live data for one. The data explorer uses data that is up to a month old.


5

Read the blog entry about it http://blog.stackoverflow.com/2010/01/what-would-a-stack-overflow-api-look-like/


5

Update Ok, I see from comments that you are using phone7 - the story is slightly different than mainstream silverlight as there is ONLY ClientHttp stack and you will need to manually decompress, as you have found out. I use Silverlight.SharpZipLib for this purpose. Good luck. Here is a method that will work in Silverlight and Phone 7. You can use it for ...


5

"Agile" API releases are a really bad idea, frankly. The StackOverflow code base undergoes rapid iteration already, just watch the build numbers. On average we deploy at least once a day. Oftentimes these are just bug fixes, but a non-trivial amount of the time we're introducing new features or revising existing ones. To take one feature for example: ...


5

Since the competition winners were announced, the API's not even been mentioned on the blog There is an entire site dedicated to applications on our API -- and you are on it! I refer people here all the time when they are looking for functionality we don't offer. Apps and wrappers have had no publicity or support from the SE team See above. ...


5

Not like this? http://api.stackoverflow.com/1.1/tags?pagesize=100&page=1 http://api.stackoverflow.com/1.1/tags?pagesize=100&page=2 ....


5

Every response from the API can be cached for up to a minute, so making the same request multiple times in that time-frame typically won't return different results. We make note of this in the throttle documentation: While not strictly a throttle, the Stack Exchange employs heavy caching and as such no application should make semantically identical ...


4

There are two, rather divergent, answers to this question. First and foremost, its not in the API because nobody (us included, woops!) thought of it before the API interface was frozen... so it didn't get implemented, even as a trial feature. Perhaps we'll revisit it for a subsequent version. Alright, onto the real meat of the issue. Headers ...


4

The date is Unix Epoch time, which is the number of seconds since 1/1/1970. The "time zone" is UTC, which is nearly equivalent to GMT. You can convert from UTC to local time in javascript using the method outlined here. Here are the functions I use to convert back and forth (code is C#): public static DateTime ConvertFromUnixTimestamp(double timestamp) { ...


4

No, not in version 1. User authentication (and the actions that go along with it, like voting and posting), might well turn up in version 2.


4

Note: I'm the author of stack.PHP. You're likely running into rate limit issues. The API only allows you to make som many requests per second. Quoting from the question I linked to: The API will cut you off if you make more than 30 requests over 5 seconds to any single endpoint. Based on past experience, what you need to do is make sure that there is ...


4

According to this answer, it looks like 100.


4

ASP.NET was freaking out about the < in your search term. Fixed it*. More generally, the API always returns compressed content; so everything is "binary," this case just showed it more obviously due to the unusual error. *It's worth noting that the actual < and > are not indexed by our Lucene search provider, so you can't actually search for ...


4

This is because area51 doesn't have an API. It's not a traditional stack exchange site and runs differently.


4

As I learned from George Edison in his comment, the server handles time in UTC format. Just replace your calls to DateTime.Now with DateTime.UtcNow or you can convert any DateTime to UTC format with the ToUniversalTime method. Just make sure not to call ToUniversalTime on the server's time, or it'll get messed up.


4

I had a similar issue a few months ago ago, and I came up with a couple of suggestions, one exactly like how you suggested: Ask the user for the email associated with their account, MD5 it, and compare it to the value provided by the API. This works, provided it isn't essential that the user is who he says he is - a users email may be publicly available, ...


4

There are 2 ways to get the 10 most recent questions of a tag, either on the /questions method or /search method. The parameters on both routes are the same, just set tagged to your tag (eg iphone), and sort to creation, and order to desc So that's either: ...


4

First of all, version 1.1 of the API has been deprecated for quite some time now. Users are strongly encouraged to move their applications over to version 2.1. The URL for retrieving information about a question looks something like this: http://api.stackexchange.com/2.1/questions/ question_id ?site= site_name For example, to retrieve information ...


4

Actually this can be done with using the rss feed channel on ifttt. together with the rss feed from the Stack2rss app that transforms stackoverflow api queries to an rss feed. like: http://stack2rss.stackexchange.com/stackoverflow/users/{{your user id}}/questions?body=true you should check the api for the specific query you like (respone, specific ...


3

You can get meta data about a site as well as about all sites and users within the Stack Exchange sites network, see e.g. the following routes: Api Routes /stats Gets various system statistics. StackAuth Routes /sites Returns a list of all the sites in the StackExchange network /users/{id}/associated Gets all the associated user accounts across ...



Only top voted, non community-wiki answers of a minimum length are eligible