The libraries currently listed vary widely in capabilities, maintenance status, and code/documentation quality. To make it easier for new users of the API to find a library that meets their needs, we're introducing a "gold standard" that will indicate particularly high-quality, currently-maintained libraries.
Technically, no, it's not RESTful. It's not stateless (a.k.a. idempotent as you mentioned) for one thing.
We're doing some research in this area ourselves. Not a lot out there in terms of "gold standard" for website API references.
The most common website APIs referenced are:
Another list here:
http://www.pingable.org/the-top-15-web-apis-for-your-site/
Someone recommended the book Restful Web Services as a good reference on this.
(please feel free to edit the above list to add other high profile websites with APIs)
How To Design A Good API and Why it Matters, a 60 minute Google tech talk by Joshua Bloch, is relevant.
Having worked with a few, I'll get right down to it
Myspace
Photobucket (disclaimer: I wrote the server side of the photobucket api)
Ideal characteristics
So that being said... something between Facebook and Twitter. Of course I'm partial to some of the stuff we have on Photobucket, but I also hate some of it.
It would seem to me that the documentation of the API is just as (or more) important than the actual design of the API.
Well written, simple documentation will make up for any design flaws. That's what I've learned after looking at the various links posted already. Specifically, Last.fm's documentation seems very good: easy to navigate and easy to understand.
Last.fm's api continues to be one of the most well maintained apis on the net. It's also been around longer than most, because it started out basically as just that.
http://www.last.fm/api
Regarding Jeff's list of big APIs: I am pretty sure that common does not mean "Gold Standard".
No need to keep a manual list of widespread API. To get a list check out http://www.programmableweb.com/apis/directory/1?sort=mashups .
Since I like REST as loose standard, I'd say that an API is "Golden" when it makes sense and is intuitive.
… all make the most sense for me and are well thought out (as Brian already pointed out).
In my current daily work I also work a lot with OpenSocial, where URIs feel very natural but also extend the REST standard in its own way.
If you like it strict and safe, use SOAP.
I would check out OpenSocial, a movement to create an API Standard for social network sices. They use REST for this and have a 'user' centric approach. But this is a very well documented approach which might help for even a site that is not totally Social based. If you are looking for some internal code implementations look at Drupals hook system and Wordpress.
http://code.google.com/apis/opensocial/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With