谷歌API的新消息:谷歌公司刚刚宣布为其URL缩短服务goo.gl开放API。现在,开发人员可以使用这些API将goo.gl的URL集成到自己的项目中。它是RESTful JSON API,可以在这里查到其文档文件。平民黑客Tyler Gilles指出,该API其实相当简易——只包含4个函数方法。当然,这已经绰绰有余了。
goo.gl competes with other URL shorteners such as Bit.ly. We compared goog.gl with other URL shorteners when it launched in 2009. An Independent study by WatchMouse found that goog.gl was the both the fastest and most reliable URL shortener tested. Google cites another study by Pingdom that confirms WatchMouse's findings.
goo.gl 一直在与其他的URL缩短工具竞争市场份额,例如bit.ly。从goo.gl诞生的2009年起,就不断地将它与其他的URL缩短服务进行比较。一项由WatchMouse进行的独立研究结果显示,在被测试的URL缩短工具中,goo.gl是最快速、最可靠的。谷歌公司还引用了另外一项由 Pingdom进行的研究,认证了WatchMouse的调查结果。
Now that goo.gl has an API, the biggest thing now lacking is the ability for companies to create customer URLs (like our own rww.to).
goo.gl在拥有了API之后,如今最缺乏的功能就是让公司可以自己创建并定制URL(例如自己的rww.to)。
Google is also promising more security for the shortener. A Twitter worm spread last month by using goo.gl URLs to mask malicious links, but it's not the only URL shortener that's been used for nefarious purposes. Twitter started its own t.co shortening service in part to curb malware on its service.
谷歌同时还承诺将保障缩短服务更加安全。上个月流传甚广的 一个Twitter蠕虫就使用了goo.gl URL来屏蔽恶意链接,而这不是唯一一个恶意利用URL缩短工具的例子。Twitter启动了其自带的t.co缩短服务,以制止一部分在Twitter上 散播的恶意软件。