Crashalot
Crashalot

Reputation: 34513

Programmatically update Google Spreadsheet with JavaScript?

Is it possible to update a Google Spreadsheet using JavaScript from a web page?

Scenario:

1) User lands on web page

2) JS script executes, modifying Google Spreadsheet

How can this be done?

Upvotes: 5

Views: 11284

Answers (1)

Josh
Josh

Reputation: 3442

It is possible, though I found it difficult. See here for all the details: https://developers.google.com/google-apps/spreadsheets/

If it is a private Google Spreadsheet then you'll need to deal with oAuth 2.0 (Google's authentication). https://developers.google.com/accounts/docs/OAuth2

See here for how to do that with Javascript: http://code.google.com/p/google-api-javascript-client/wiki/Authentication

Upvotes: 1

Related Questions