The AJAX Search and Feeds team is happy to announce a new member to their API family -- the Language API. This new API boasts two functions, language translation and language detection - which cover 13 languages and 29 translation pairs.
google.language.translate('Gato', 'es', 'en', function(result) { alert(result.translation);});
We are excited to launch the Google Visualization API, a new API designed for visualizing structured data. The API adds the ability to send queries to data sources and process the response. The first data source that already supports this API is Google Spreadsheets. We are also launching a set of visualization gadgets that use this API.With this API, you can read data from a data source that supports the API. You can read an entire table, or you can run a query on the data source using the API's query language. The query response is an easy to process data table designed to simplify data visualization. It includes both the underlying values and the formatted values, column types, headers and more.
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
if (needToLoadGoogleAjaxApisLoaderModule) { // Load Google AJAX APIs loader module (google.load) var script = document.createElement('script'); script.src = 'http://www.google.com/jsapi?callback=googleLoadCallback'; script.type = 'text/javascript'; document.getElementsByTagName('head')[0].appendChild(script);}
function googleLoadCallback() { // Initialize AJAX Feed API google.load('feeds', '1', {callback: startUsingAjaxFeedAPI});}function startUsingAjaxFeedAPI() { // Start using AJAX Feed API var feed = new google.feeds.Feed(someFeedUrl); ...}