Tag Info

New answers tagged

3

The API documentation states that the API always returns a compressed response: ...we guarantee that all responses are compressed, either with GZIP or DEFLATE. GZIP is the default. This means that you must send the results from wget to gunzip. Like so: wget -O- <URL> | gunzip > results.json Or, in your specific example: wget -O- ...


1

There is indeed a way: Just use an appropriate filter with /questions or /search. For example, you can get roughly the JSON equivalent of page How do I get a GreaseMonkey/UserScript to interact with the Live Preview? with this query: https://api.stackexchange.com/2.2/questions/2804?&site=stackapps.com&filter=!BHTP%29W3VIPP%29cNVPt8on92i1%28WJFk1 ...


2

There should be a StackExchange method you could hook into, but I don't see it. Also, post text can change for a few reasons. (The user finished an edit, or clicked on a snippet button, or clicked on one of those "This post has been edited" alerts, or triggered a spoiler, etc.) To keep things simple and robust, I recommend just using an interval. EG: var ...


1

No. You cannot search for a user by email address. Email accounts are sensitive private information and not disclosed by Stack Exchange. You can search for users by display-name though. See the documentation for /users. You can use the inname parameter. For example: /2.2/users?order=desc&sort=reputation&inname=Stack&site=stackoverflow ...


2

They are one and the same. When the API was first announced (March 31st, 2010), it was temporarily called the "Stack Overflow API" -- even though Jeff said that the API would be "for all the trilogy sites". Two month's later, when stackapps.com and the public beta were announced, the official name was already Stack Exchange API. There is no separate API ...


2

There doesn't seem to be a place that describes the policy. That API-object, documentation page would be perfect for it. However, a lead Stack Exchange developer has stated that anything that reveals voting patterns will be hidden or private. Another Stack Exchange employee explains how user deletions and post deletions are kept private-ish, but ...



Top 50 recent answers are included