background preloader

Google

Facebook Twitter

Loading Google API Javascript Client Library into Chrome Extension. Chrome DevTools. Overview. Once you've finished this page and the Getting Started tutorial, you'll be all set to start writing extensions. An extension is a zipped bundle of files—HTML, CSS, JavaScript, images, and anything else you need—that adds functionality to the Google Chrome browser. Extensions are essentially web pages, and they can use all the APIs that the browser provides to web pages, from XMLHttpRequest to JSON to HTML5. Extensions can interact with web pages or servers using content scripts or cross-origin XMLHttpRequests. Extensions can also interact programmatically with browser features such as bookmarks and tabs. Many extensions—but not Chrome Apps—add UI to Google Chrome in the form of browser actions or page actions. Each extension can have at most one browser action or page action. Choose a browser action when the extension is relevant to most pages.

Each extension has the following files: While you're working on your extension, you put all these files into a single folder. The background page# APIs Client Libraries. Burnash/gspread. Michelle Minkoff » Using Google spreadsheets as your database. UPDATE 2/7/12: The whole, copyable script has been added to the bottom of this post, at the request of a few folks. Hopefully that’s helpful. The database is a key part of data journalism. We spend a good amount of time making structured of the unstructured, and then we need to shove it somewhere so a web app can serve up relevant pieces, perform calculations to help us understand nuance. Straight text files just have their limits. Would you like an example?

We came up with this. The part for us Data Desk devs was how to pull this collaborative spreadsheet into the HTML template housed in the CMS. Here’s a walkthrough, in case it’s of use to anyone out there, and also because I’d love to hear about related tips, tricks and improvements you have. A caveat: This is ABSOLUTELY NOT to say you don’t need to use a database backend anymore. Here we go! 1. 2. 4. 5. 6. 7. 8. 9. Api-javascript-client - Google APIs Client Library for JavaScript. Apps Platform. Important: Versions 1 and 2 of the Google Spreadsheets API are no longer available as of October 20, 2012. Migration to v3 should be simple, as it includes all the features of v1 and v2, thus you only need to stop specifying v1 or v2 with your requests. The Google Spreadsheets API enables developers to create applications that read and modify the data in Google Spreadsheets. Introduction This guide discusses how to use the Google Spreadsheets API version 3.0.

What can this API do? This API is useful for: managing the worksheets in a Google spreadsheetconsuming the rows of a worksheetmanaging cells in a worksheet by position Common use cases of this API include: computing financial data stored in an inaccessible systempresenting statistics to users in a web browserconsuming data entered into a spreadsheet by a user Audience This guide is intended for software developers needing a technical reference for using the Google Spreadsheets API. Terminology used in this guide spreadsheet Java. Authentication using the Google APIs Client Library for JavaScript - Google APIs Client Library for JavaScript (Beta) Overview To access a user's private data, your application must work with Google's policies for authentication and authorization. Google defines two levels of API access: Getting access keys for your application To get access keys, go to the Google Developers Console and specify your application's name and the Google APIs it will access.

For simple access, Google generates an API key that uniquely identifies your application in its transactions with the Google Auth server. For authorized access, you must also tell Google your website's protocol and domain. For detailed instructions for this process, see the Getting started page. See below for details and examples of how to use these credentials in your application. Simple access using the API key The API key identifies your application for requests that don't require authorization. Whether or not your application requires authorized access, your code should call gapi.client.init with the apiKey parameter. Authorized access OAuth 2.0 basics. JavaScript API Example. Fusion Tables JavaScript Example (1) Authorize using OAuth 2.0 Click Authorize to start the OAuth 2.0 authorization flow. If you have already authorized, the button will be disabled. (2) Create Table Click "Create Table" to create an exportable Fusion Table called "People" with columns "Name" with type "STRING" and "Age" with type "NUMBER". table response goes here... (3) Insert data Insert data into the newly created table.

INSERT INTO [table_id] (Name, Age) VALUES ([name], [age]) insert response goes here... (4) Select all the rows from the table Select the data that has been inserted into the newly created table. SELECT * FROM [table_id] select response goes here... Getting Started - Google Fusion Tables API. This document explains how to get started using the Google Fusion Tables API 1.0. Contents Introduction Google Fusion Tables is a web application used for sharing, visualizing, and publishing tabular data. You can upload your own CSV, KML, ODS, XLS, or Google Spreadsheet data to a Fusion Tables table. Once your data is in Fusion Tables, you can collaborate on it with others in real time, publish it for Google Search, create map and chart visualizations for private use or for embedding on websites, filter it according to specific criteria, and update the data behind your visualizations or filters at any time.

The Fusion Tables API allows you to use HTTP requests to programmatically to perform these tasks, which are also available in the Fusion Tables web application: Table structure, metadata, and visualization settings are represented as JSON data structures accessible through RESTful HTTP requests. Fusion Tables API documentation includes: About REST Before you start Get a Google account. Extending Google Sheets - Google Apps Script. Explore the world of Google Developer Tools.

Google Application Script

New fonts galore and other fresh features. Cross-posted from the Google Enterprise blog. Editor's note: Hangouts On Air are live video chats, interviews, or performances that are broadcast to Google+. We’ll host these broadcasts from time to time on the Google Enterprise Google+ page to give you the inside scoop on our business and products. Last week, we hosted our first Hangout On Air from the Google Enterprise Google+ page with Jonathan Rochelle, Director of Product Management, Jeff Harris, Google Docs Product Manager, Teresa Wu, Google Docs Community Manager, and Eric Brunnett, Director of IT at Trump Hotel Collection. During the conversation, Jonathan Rochelle told us the story of how Google Docs, Google Drive and cloud collaboration came to be. What was once an experiment to bring desktop software to the web is now a collaboration and productivity platform used by millions of people in their personal lives and at businesses, universities, non-profits and government agencies around the world.