Tag Info

Hot answers tagged

25

We strongly believe in the value of an open platform and encouraging the healthy growth of our ecosystem. As part of that, it's important for users to be able to trust Stack Overflow and not be confused about our relationship with the many people and organizations who want to use one of our logos or trademarks. If you’d like to make any use of our marks ...


16

A library should take an app key, not have an app key. Don't register it. Also, make absolutely sure your wrapper demands an app key at initialization. You don't want a user locked into the No Key request limit erroneously. If libraries had keys an application abusively using your library (through no fault of yours) could get every application that uses ...


13

I imagine a /status method would not be too hard, and is crucial in both testing and deploying applications. Imagine an application that updates a database with new questions. It can query the /status method to correctly time it's calls so that it can make it through the day. I would also consider whether this call should count towards the limit. Twitter, ...


12

If you participated in the private beta and produced actual apps/libraries, you got a gold badge and 4,000 reputation. If you were in the private beta and got at least 1 up vote, you got a silver badge and 2,000 reputation. See: http://stackapps.com/badges To be clear. Nothing from dev.meta.stackoverflow.com gets copied over to stackapps.com. It is simply ...


11

Not only does Stacky claim to support Windows Phone 7, it actually does! :) And I am building a WP7 client using it. Here are some early** screen shots: ** Note that this is very early and none of the UI is final.


11

Existing applications for Android? Simply browse the android tag here. As for writing an Android app yourself, I recommend the following Java library, which has been tested on the Android: StackWrap4J Others can be found by browsing the android+library tags together, like so: http://stackapps.com/questions/tagged/library+java


11

Mmmm. I can live with this for Six to Eight, because I'm planning an update this summer anyway. However, referring to http://blog.stackoverflow.com/2010/05/stack-exchange-api-public-beta-starts/ - the original "Beta begins" blog post - we find... If you build to our API, we will support you. We’ll be on Stack Apps daily helping out in any way we can, ...


10

Move the id value into the query string In that the id is vectorized, it is designed to represent multiple values. Currently the id field is a component of the url. This severely constrains the number of records that can be retrieved far below the stated maximum of the max pagesize which is 100. Another, more serious, implication of this limitation is ...


10

StackApps is a member of the StackExchange network of sites. It is designed for questions about using the Stack Exchange API and reporting any bugs you find in it. A good place to start is here which gives you an overview of what the API is all about. If all you're looking for is applications that use the API, then these two pages will help you out: ...


9

User Authentication This is an obvious one (and a stated goal for V2, I think). The basics would be for some way to authenticate a user against his StackOverflow/etc user. Also, a way to access the "linked accounts" information would be great (so authenticating a StackOverflow user will automatically give the application knowledge of his other accounts ...


9

This is a take on a class that has been floating around for a while. I first saw it in kevin's first api. You can use this on all values that are declared as 'unix timestamp', both request and response ///<summary> ///</summary> public static class UnixDateTimeHelper { private const string InvalidUnixEpochErrorMessage = ...


9

Unfortunately the news is bad all around. Sathya has updated the tag wiki for script to include the following paragraph: As of May/June 2012, Chrome no longer allows for direct installations of off-store extensions. To install them, you'll have to download/save the .user.js file, open chrome://chrome/extensions/ (or Click on Wrench -> Tools -> ...


8

Yeah... These are kind of complicated, but very flexible. They're also getting better docs soon-ish. Basically, min & max are the range of the sorted results to return. So, if you order a list of questions (pick your API method of choice) by votes, you can set min to 5 and max to 10 to only return questions that have a score of at least 5 and no more ...


8

Yeah, Serverfault, Superuser are supported just like StackOverflow. There was a post from Geoff Dalgas in dev.meta, but I don't see the post here related to that Let me quote some part of the post Super User and Server Fault are ready for API testing All methods are currently identical to the current list for Stack Overflow - just replace ...


8

I completed a draft of the "Guidelines for the use of Stack Exchange Network Logos and Names" this past weekend. Update Here are the relevant portions from the final draft of the logo usage guidelines. Pending any last-minute changes, this should pretty much cover "fair use" of the logos in your applications. Design of Your Product Do: Do design your ...


8

Do you mean to say how do I use this stuff? You can find the documentation here or there's a Get Started section at the right of this page. For example if you want to see a list of users you could send a web request to http://api.stackoverflow.com/1.0/users and parse then JSON response. Now if you want to find out details about a particular user lets say ...


7

This is status-bydesign. The site being closed beta prevents people from participating so as to prove that the committers are actually, well, committed. Being able to read data out doesn't allow participation, so we figured why not allow it.


7

Update: Meanwhile Luke jumped in regarding his upcoming Windows Phone 7 client, so in addition to the options outlined below you might watch his activities to eventually be amongst the first to try it :) I'm not aware of an existing one for either platform yet. If nobody jumps in regarding the in development question, you seem to have the following ...


6

The /errors method was requested to make it easier to test libraries. Finding questions/users/etc. that result in certain error cases can be... trying, and potentially quite brittle. Defined Error Codes: NotFound = 404 InternalServerError = 500 InvalidApplicationPublicKey = 4000 InvalidPageSize = 4001 InvalidSort = 4002 InvalidOrder = 4003 ...


6

If you look on that password page, it says: Thank you for participating in the private API beta! We're now starting the public beta - you can find more information on http://stackapps.com. The dev.meta.stackoverflow.com site is no longer active. This is the new location for API related subjects. You should have goten an email notifying you of ...


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 ...


5

You don't need an API key until your app goes live. For small traffic amounts (under 300 requests/day) you can use the API without the key to test your app: Do I need an API key? A single IP can only make a limited number of requests per day to the API. This limit is determined at first request time, and is dependent upon the presence of an API key. ...


5

There will be some lead time on the 0.9 -> 1.0 transition, and after that transition the contest end date will be publicized*. There will be at least 1 week between the announcement of the end date, and the end date itself. *Not necessarily immediately after, but the important part is not before.


5

For all the jQuery developers, there is - as always - a decent plugin available: timeago... Bonus: comes with auto-refresh, supports a semantic approach and is kind of progressive enhancement-ish, since it will turn something like <abbr class="timeago" title="2008-07-17T09:24:17Z">July 17, 2008</abbr> into timestamps like about a year ago ...


5

Here you go, another JavaScript approach, originally posted on SO: function getRepString (rep) { rep = rep+''; // coerce to string if (rep < 1000) { // return the same number return rep; } if (rep < 10000) { // place a comma between return rep.charAt(0) + ',' + rep.substring(1); } // divide and format return ...


5

Objective-C: This should work on iOS 3.2, iOS 4.0 and Mac OS X 10.4 - 10.6 : I don't have multiple returns because I like a single exit point in my code. Hence I use my trusty friend returnable. - (NSString*) stringForReputationFormatted:(NSNumber*)reputation { NSString *returnable = nil; long rep = [reputation longValue]; NSString *returnable ...


5

The name 'key' is a bit misleading. It is not your 'license', it is simply a means of controlling anonymous access to the api and to gather usage metrics. So, while there is no value in advertising your key, there is no need to be concerned with it's visibility in your application code.


5

You can't access Area51 through the API. http://stackapps.com/questions/1517/area51-does-not-show-up-in-the-associated-accounts-query http://stackapps.com/questions/1234/why-i-think-area51-needs-an-api And even if you could, there is no write access in the current API version.


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

It is acceptable, so long as it is usable in some form. What we object to is people listing an app that exists only in their imagination and not reality. That's not helping people looking for, y'know, actual apps that run on our API...



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