463 points · by bauchidgw · 15y ago · 180 comments
I'm guessing you shouldn't!
I've seen a lot of neat projects come from Google APIs, but that's as far as I'd taking it.
Relying on someone else's good will for the lifeblood of your company is insane.
1 exception, though: Getting started. I could see using Google to get off the ground and then switching to a more reliable API (read: paid for) afterwards.
And now they've announced a change in their pricing scheme, which if true, would change App Engine from pay-what-you-use to same-as-amazon-aws-but-pricier scheme, which makes it hugely expensive for a large portion of devs that have built on top of App Engine. And migrating away from App Engine is a total pain in the ass.
I truly hope that the blog-post missed important details or that they'll keep providing the old option too (i.e. paying per cpu-hour instead of instance-hour).
I know App Engine was beta, but people have built on it expecting instability in the implementation, not in its pricing scheme. I mean, come on!
Really, really? Come on, these very same concerns (pricing, it's beta) were/are brought up regularly. If you choose to ignore warnings/recommendations and use GAE that's your fault.
I never liked relational databases. You have to lock yourself into SQL because your application has to be designed for SQL.
I never liked python. You have to lock yourself into python because your application has to be designed for python.
I regret, that didn't choose AWS EC2 in the beginning.
https://groups.google.com/forum/#!topic/google-appengine/ob-...
Clarifies that you will be paying per instance hour, instead of cpu.
Nothing is in concrete yet, if there is enough outrage amongst users maybe they will change their tune.
Tweetdeck anyone? And Zynga (FB is its lifeblood)
Google shutting down an API that thousands of developers are relying on without much warning is insane.
The web is an increasingly competitive space and there are lots of walled gardens to worry about. Google openly encourages developers to build on top of and use its APIs and it prides itself on its "Don't be evil" policy.
Like it or not, companies like Google, FB, and Apple are platforms that developers are building on top of simply because these companies and their services are the "web" these days.
What constitutes 'much warning'? Translate API users have six months. Were you thinking of a different API?
People using the APIs knew the policies for deprecation in the ToS, I presume?
in the case of apis, the risk is that there is some probability that the api will go down. the benefit is that you don't have to write your own stuff, and in some cases, the benefit is the entire value proposition of your application. for example, should you use the google translate api? there is some probability that the api will go down. whatever you estimate this probability to be, that's how you have to weigh your benefit. you probably can't recreate google translate, so the benefit is whatever benefit your application provides, or the marginal benefit that google translate provides to your application.
also, consider the fact that all apis will go down, but you can always create value in the interim. no api is going to be around forever, but will html even be around forever? how long is your application going to be useful? maybe the chance that the api will go down in the medium term is low, so that's an acceptable lifetime for your application.
But if developers knew that APIs could easily go away, then people wouldn't build businesses on top of those APIs. The risk would be too high.
I don't know the history but it seems that Google could've implemented some simple solutions to prevent abuse of their APIs while catering to the business community such as simply charging for use. Any legit business would be willing to do this.
Guessing Google has bigger fish to fry than making the world nicer for people who want to build apps on translation APIs.
The comment I replied to basically implied that only neat projects have come from Google's APIs and nothing more. This came after his comments about how one shouldn't build a business off a not-for-profit API.
In my mind it's an incredibly ignorant remark to make. THAT was what I was making a counterpoint to. I could point out some very obvious examples like Tweetdeck or the numerous applications that use the Facebook API. I just thought it was incredibly obvious and not worth my time.
Most of today's exciting APIs are "not-for-profit." That is, companies do not charge for the APIs themselves. By your advice, nobody should be trying to build for-profit, real companies based on them. The primary reason why these APIs are created are so that they can create their own economies that are dependent on their platforms.
My comment was also generalized (much like the comment I replied to) to APIs beyond Google's Translate API. I guess you were too busy fixated on this one scenario.
I know from experience that a number of Google's APIs are just some engineer's idea of how to hook into the data stored in the back end which Google puts out there for some easy (and free) goodwill but without any commitment ever to actually do the necessary foundational work to support it as a product (which they are really really bad at, in case you haven't noticed).
So the point is they use the API internally, exposing it gives them additional testing and additional feedback on how to make it better. Once the cost incurred by offering it for free exceeeds the benefits of the testing they pull it back. Continuing to use the now 'well tested and well rounded' API internally.
GOOG-411 was a great example of this. It was a great way to get voice samples from a lot of people by bartering a service. Once their voice training parameters weren't getting better they turn off the service, (cuts costs) but they still get the durable benefit of a well trained voice recognition library.
Even if you have a business with all of your employees on free gmail, you hardly rely on gmail, because you can probably switch to some other email system without going out of business.
Additionally, gmail is not even really a "good-will free" API. Advertisements more than make up for the costs.
* Everything Google does is free. So it can be argued that the API is in fact for-profit. * In this case, translation is not something a small company can do by themselves. The API's whole value proposition is that it enables startups without the infrastructure like Google can create interesting applications using the API. Google wants people to do that and its very much a big part of its success so far.
So the developer is not entirely at fault.
I would not rely on that one API itself for my business but he/she chose to do it.
Remember the now legendary "beta" moniker. It applies, even where it's not explicitly designated.
I'm not defending Google. Just saying.
I'll let Google in on a little secret: If you charge more for a service than it costs you to provide, then there is no such thing as abuse.
Once you charge more than any legitimate user would be willing to pay for the API, you are effectively shutting down the API anyway.
Spam is all about maximum distribution and massiveness, so I don't think the pricing would have to be very high to take the profitability out of the spam operations.
Edit: The Translate API, specifically mentioned, will be deprecated December 2011. That's pretty soon.
Why are we still in this infatuation stage of ignoring the pitfalls of this?
With a library you can continue to use it, and slowly rebuild your product to use a different library (or even use that library forever if it works for you), but with a web service it works 100% today and tomorrow it doesn't work at all.
http://raganwald.posterous.com/this-shit-still-happens-and-p...
At some point, we're all relying on APIs provided by somebody else. I think that's why it's so easy for people to ignore the pitfalls of just a little bit more.
This would 'self correct' folks who weren't doing the extra work.
However for things where there isn't really a credible way to come up with an alternative you are kind of screwed. But then it would become a Google problem if they didn't get API adoption without offering some sort of indemnification in the event they need to take it back.
I presume the 'translation abuse' is people using it to send spam in 141 different languages.
When you pay per request for access to an API, at a level that can make the provider as well as you profitable, you can have some comfort in the fact that if your provider goes down there will likely be a competitor to spring up in its place.
If your startup could survive if you switched off the API, then you're fine.
I don't see why NetFlix would have to be more paranoid about AWS, then say Apple about Foxconn. Business is business, except at Google.
I was already well aware of the API deprecation story, but I clicked on this link thinking it was a new article from Google defending the move (or something of the sort).
So, still slightly editorialised title here on HN, but pretty much on the money.
I use some free apis in my commercial apps but I'm aware that I don't control them nor am I entitled to them. They may change in such a way that I'd have to discontinue a product but that's a responsibility I took on when I decided to use them. Google and other free API providers don't bear reposibility for my decision.
From now on, any API announcement from Google should be accompanied with a GIANT expiration date stamped all over it by default. Then, if it keeps going... happy surprise!
I actually attribute it to starting with the shutdown of Wave and the floundering about with Buzz and other products since then.
One thing that Google has been excellent at doing is building up the perception that they have near limitless computing power at their disposal. These kinds of shutdowns, and the reasons given, are doing immense harm to that cultivated image.
Of course, I imagine that sort of thing would hurt adoption quite a bit.
When someone offers a product or service, they have to right to decide later on to not offer that service any more. That is simply the nature of any business arrangement where you are depending on an entity not under your control.
Would the OP prefer that Google and other companies simply not offer APIs?
You also have the right to not write thank-you cards when people do nice things for you, but those people have the right to react to your selfishness.
This was a free service and they're no longer going to offer it, and they're shutting it down in an orderly manner. That's not selfish.
This is more like someone giving you a birthday present every year, and then when they fail to send you one, you write a nasty post about how greedy and selfish they are.
I think it is difficult to compare this to a birthday present you did not receive, though. It is more like they want you to throw away the birthday present you got last year; a present you were grateful for and that now plays an important part in your daily routine.
http://mygengo.com/services/api/
Works, no? It's human-based translation, though; a tad bit slower, but generally higher quality overall. ;)
Full Disclosure: I currently work with this company.
People should also definitely (at least) be aware of the Microsoft Translate APIs.
I (or more specifically, the client) would certainly pay for something like this. If anyone does have a replacement that is roughly as simple to use and isn't £1000/mo then you have a customer right now.
It's also a little hard to believe that it was
a "financial burden" for one of the richest
corporations in the world.
I think you underestimate the computational resources required here.Assure yourself, if you are using a free google-anything, somehow or other, it adds to their income.
Depending on your needs, you could consider human based translation, which is generally more accurate than machine-based translation. Over at myGengo (http://mygengo.com/) we offer an API to help people get translations done by an actual translator, as opposed to a machine (think Mechanical Turk, but focused on translation). Feel free to check it out - various libraries abound:
http://mygengo.com/services/api/
An advantage to going with this approach is that the myGengo API can also return a machine translation while a job is being worked on; a takeaway here is that even if a service like Google shuts down, it should be fairly simple to use another service behind the scenes, keeping a nice level of transparency for you.
Of course, if you'd like to stick with general machine translations, you could check out the following - should be close enough:
I would also add that because translation is core to our business, we would never deprecate the translation API :)
Note that most of these APIs have 3 year deprecation policies and so will continue to be around; only the translate api is going away (and that's in December).
I have serious doubts that almost anyone would actually pay per translate (and if you would, it's likely you could work out a license deal independent of a public API anyway). It seems like the reaction to this has more to do with annoyance that another cool free service is going away and remaining anger over app engine pricing changes.
The actual business is http://www.yabla.com/
Long story short: Building on someone else's API is a recipe for disaster. Are there times when you have to? Sure. But you need to know what you are getting into.
"Google is just another company who doesn't care about developers."
What? A little gratitude, at least, before suggesting how things could be better.
(I'm not personally mad and wouldn't have built a business around this API. But creating false expectations is not a good thing.)
On the other hand I'm having mixed feelings now, trying to reconcile this with the way I feel about how Facebook's privacy policy affects users. I just don't get the impression that Google is careless the same way.
Many folks are crying out for a paid version of the Translate API for example.
I question the motive behind shuttering a useful and unparalleled API like translate without considering putting a pricetag on it.
If there's any startup working in this area, here's your chance.
In short, it takes considerable amount of resources to make it work on a Google translate level.
Don’t be a Google Bitch, don’t be a Facebook Bitch, and don’t be a Twitter Bitch. Be your own Bitch. (link: http://techcrunch.com/2011/05/23/fred-wilson-be-your-own-bit...)
It shows again the importance of building free software along with their free network services. That's quite challenging and difficult but it shows that initiative like http://autonomo.us/2008/07/franklin-street-statement/ is not completely useless on the long run.
I think a better statement is "Never rely on anyone's API unless you have a contractual agreement and SLA in place, and a backup plan for if/when the API goes away; building something on an API otherwise is a mashup/side-project not a startup/company."
I launched an app back in May 2007 right after their platform launch. After the four years the app is quite broken now and every now and then a user sends me a message about it. Today I decided to spend a day to translate all those "old" API calls into "new & improvides" API calls but due to lack of documentation, unavailability of search results due to all that legacy documentation better SEO'ed and the hectic task of re-testing all the workflows I've previously tested thoroughly, I gave up!
Why should I put in so much effort in re-writing my code just because you don't like a function name or you think same functionality could be achieved by another one so this should be dropped?
I was psyched to start playing around with the prediction API but just got totally put off by the new API pricing/management. I'd argue that the restrictions are now so tight and cumbersome that there's no real sandbox environment to encourage devs to try out the services. I'm a touch disappointed.
They should charge for it at the very least. Whats stopping anyone from using a proxy service and hitting their web page? I m sure people would rather pay a little than go through these unnecessarily complicated and unethical practices.
Classic :-)
Yahoo killed their spell checking api in april and now i need a new word splitter. Any ideas?
Thanks Google! Ya dumb fvcks.