Tag Info

Hot answers tagged

7

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


6

Thanks for the help, S.Mark. Here's the answer: http://code.google.com/chrome/extensions/xhr.html You must register the API in your manifest.json file under permissions: ... "permissions": ["http://api.stackoverflow.com/"], ... }


6

Try this http://api.stackoverflow.com/0.8/questions/?tagged=gwt+google-app-engine


5

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

I've been a long time user of this script and really loved it. The makeover is excellent, 1-click vote is pretty nice! Some minor issues: On Stack Overflow: Notice that the starting letter of the question("I") is still at the top Seems to happen at cases where the question length exceeds certain limit Example: ...


4

Yes, that bug is annoying, especially since specifying a todate that's before the fromdate returns a valid result set, EG: { "items": [], "has_more": false, "quota_max": 10000, "quota_remaining": 9995 } -- rather than an error. Having the dates be equal is theoretically possible. Having negative time is impossible (in this context). However, ...


3

Question titles aren't markdown, they're plain text. Accordingly, if you're going to display them in HTML you shouldn't display them "raw".


3

Done. protected_date has been added as an optionally returned field. Example (SuperUser)


3

There is "accepted_answer_id" for questions method. When there is no accepted answers,that field does not exists in returned JSON. So hasAccepted is the existance of "accepted_answer_id" field.


3

Currently the API does not let you get "featured" questions (questions that have bounties) using or logic with the tag parameters. That is, you cannot search for questions that: Have a bounty AND (have Tag-A OR Tag-B) It might make sense to add a hasbounty parameter to the /search/advanced path. Workaround: In the meantime, since the number of featured ...


3

Stack Exchange supports the width attribute; see "What HTML tags are allowed on Stack Exchange sites?". The answer to that question emphatically states: You must enter the tags exactly as shown. Any deviation from this list—adding extra spaces, using single quote or no quotes, etc.—means the tag will be stripped. and: The attribute order is ...


3

Are they moved to filters? Yes, you need to generate a filter that includes the question.body, question.comments, and question.answers fields. There are shorthand filters (i.e. _bca) that will do this for upgrade compatibility, but their use is discouraged and you're better off just making a filter that contains exactly what you want anyway.


3

You already know the site, it has to be built in to every /questions query. But, if you are querying separate sites with concurrent AJAX queries, merely encapsulate the site name in your AJAX callback. See this Stack Overflow question for an example of doing that in javascript. Alternatively, you can parse the link property of the question response to ...


3

feature-request status-completed Support /unanswered tab as well. An example: http://stackoverflow.com/unanswered/tagged/regex


3

There's no one way. Here's a recipe you can use: Make a proper app post here on StackApps. See How to list your application/library/wrapper/script here. Look for posts on Meta Stack Overflow (MSO) and/or on Meta Stack Exchange (MSE) where your app might make part of a good answer. If you find such posts, make proper answer(s) to them -- linking both to the ...


2

There is currently no way of finding this information out. This has been discussed before and it would be a serious privacy breach if this information was made available.


2

I have been working on another API recently so I may be a bit dull but my first impression is that the path of least resistance is to pull your question(s) with answers and comments disregarding activity/creation filter (use max page size) compare last activity date of the question. this will include new answers and edits on both the question and answers ...


2

We'll consider this for a subsequent version. This was added in 1.1 as /questions/{id}/linked


2

This has been fixed.


2

Personally I think listing apps that use the data dump are fine -- it's an expansion of scope for stackapps, but then so was adding support for browser scripts. Generally anything third-party and programmery that makes the network more awesome should go here.


2

No, you can't do it because py-stackexchange is a library based on SE API that does not provide that kind of search. You should use Google API search instead.


2

This was fixed in the latest deploy, there was a problem selecting the most recent notice for post with multiple notices (which is rare).


2

Thanks to Dave for this ;) Your for loop should be: var i, l; for (i = 0, l = data.items.length; i < l; i++) { // Get your data here }


2

It would be simpler and more precise if you made users provide their ID number instead (for example, yours is 1637442 on Stack Overflow). Then you'd merely use the /users/{ids}/questions route to get the questions. If you really must have access by username, then: First do a search using the inname parameter of the /users route. It is recommended that ...


2

Confirmed the bug on a post that accrues comments much slower than a typical Stack Overflow question does. Currently, the OP's filter returns "comment_count": 1 on that post. There are no comments. I believe this is a side-effect/bug/quirk with how the API appears to be counting the comments. ¿Perhaps it is counting Ids in the comment table and not ...


2

If the code tags are <pre>s, then \n is fine. Pre means "preformatted;" it makes the browser ignore the usual rules and preserve whitespace, etc. Repeat after me: "There is no such thing as a special character." Html is perfectly happy to receive UTF-8.


1

There is no app, exactly like that but two are pretty close (they don't have any annoying sounds). These both run on Windows + Linux platforms and provide desktop alerts for favorited/tracked tags. Check out: StackApplet: , built on the QT framework New Q!: , Uses the Chrome browser for its engine.


1

For questions tagged with all tags in a list (AND operation), use the /questions path. For example: /questions#fromdate=2013-01-11&sort=activity&tagged=ruby;git ~~~~~ For questions tagged with any tags in a list (OR operation), use the /search path. For example: /search#fromdate=2013-01-11&sort=activity&tagged=ruby;git


1

The documentation you linked to is for API 2.x, but you're querying 1.1 which doesn't return those exact objects (and is deprecated). This API 2.1 request will return the results you were expecting: http://api.stackexchange.com/2.1/questions/13752517/related?site=stackoverflow


1

For one use the current API version (2.1) instead of an old one (1.1 in your case). Furthermore, when using JSONP you do not have to parse the result. The data object you get in your success method already is a JavaScript object you can work with. $(function(){ $.ajax({ url: ...



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