3 ms·
Does anyone here use Google APIs? Care to comment on your experiences? My experience with them has... not wowed me as much as their customer-facing or adverti
by patio11 17y ago
Does anyone here use Google APIs? Care to comment on your experiences? My experience with them has... not wowed me as much as their customer-facing or advertising products.
In terms of great API design for startups -- meaning both "something to emulate" and "something to convince other startups to use me" I think MailChimp and Twilio are both top notch. Their documentation is excellent, they make doing easy things really easy, and you'll quickly get actual business value out of them. By comparison, many of the Google APIs I've seen have documentation which scares the Big Freaking Java Enterprise Developer in me, no useful defaults, huge commitments required for integration, and many hours of work required before I see anything useful.
See, for example, the Google chart API. You would think doing a sales barchart should be pretty easy, right? That is pretty much the Hello World I'm A Barchart, right? Even using a wrapper in my language of choice, that was nearly half a day of banging my head against the wall. I had my entire Mailchimp integration done in less time.
- dschobel 17y agoMy only experience has been with the java frameworks coming out of Google and those are top-notch. In particular google-collections (http://code.google.com/p/google-collections/ http://code.google.com/p/google-collections/) and guice (http://code.google.com/p/google-guice/ http://code.google.com/p/google-guice/) are, in my qualitative estimation, fabulously designed. Maybe the difficulty you found with their chart tools reflects some inherent complexity of the problem? Did you ever find an easier / more useful library? In the absence of a better solution, I would wager that it's just a hard problem that they're trying to solve.
- patio11 17y agoDid you ever find an easier / more useful library? In the full knowledge that this comparison is apples versus porcupines: OpenFlashChart 2 is my favorite charting software ever. It gives you quite a bit of fine-grained control, but if your needs are I Want A Freaking Bar Chart then in ten minutes you will have A Freaking Bar Chart. There are no steps such as "OK, first things first: we're going to need you to scale your data down to fit in the range 0 to 100. Then you pass that to us with your min and maxes -- you have to specify those, we don't pick sanely -- and we'll recreate your original data for you." I'm sure there is a good technical reason for that but, ahem, I use APIs so that I don't have to care about good technical reasons for things being hard. That is the sort of ugly implementation detail that the API is supposed to bury for me. (Google Charts is still impressive, by the way, in that it totally abstracts away server administration and scaling issues from graphical processing, which if you were to scratch build yourself would not be pleasant. Also, since you end up with standard image tags, you can use it with any browser, down to and including the ancient Japanese cellphone I often check my stats from. That said: it could be better. I see they have a Javascript version now and it looks much, much saner.)
- chime 17y agoHave you looked at: http://code.google.com/apis/ajax/playground/ http://code.google.com/apis/ajax/playground/ Visualization > Bar Chart
- benologist 17y agoThere's an amazing set of charts available here too: http://www.fusioncharts.com/free/ http://www.fusioncharts.com/free/ Very easy to set up, and attractive too. The free library has a stack of different types.
- chime 17y agoI've used Google APIs in many projects and love them. Here's one: http://chir.ag/projects/drop-search/ http://chir.ag/projects/drop-search/ I also used the search API here: http://chir.ag/wiki/bingo http://chir.ag/wiki/bingo - Wikipedia search. I almost always end up doing site:wikipedia.org when I'm looking for articles on a topic. Now I just go to chir.ag/wiki/%s and it works great. I do not have to do anything on the server end and Google's JS search APIs handle everything. It works especially well when I don't know the correct spelling or even the most relevant keywords. I wouldn't think of Google API as being complex enterprise-y APIs. They have really powerful JS APIs that you can use on the client side. This puts less stress on the server and you don't get rate limited. I've also used YouTube API in the past and it was pretty decent.