Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Current Android Google Spreadsheet API Example for writing

Tags:

android

I'm looking for an example of writing a Google Spreadsheet and adding rows to it from Android. All the examples I've found so far are either out of date, only include authentication, or only listing documents/spreadsheets (without including any writes). Do you know of any examples of creating a spreadsheet and adding rows to it?

like image 663
Nathan Hurst Avatar asked Dec 02 '12 01:12

Nathan Hurst


People also ask

Can you write scripts in Google Sheets?

Create a scriptIn Docs, Sheets, Slides, or Forms, open a document, spreadsheet, presentation, or form. Script editor. Script editor. Create your script.

Can I use Google Sheets as a API?

The Google Sheets API lets you read, write, and format Google Sheets data with your preferred programming language, including Java, JavaScript, and Python.


2 Answers

Here is an api wrapper for Android for the Google spreadsheet api: [email protected]:ralph240574/spreadsheet-api.git

And a working example: [email protected]:ralph240574/spreadsheet-api-android-example.git

And here is an app that uses the api: https://play.google.com/store/apps/details?id=com.iubiquity.fc

like image 53
Ralph Mueller Avatar answered Nov 04 '22 19:11

Ralph Mueller


The spreadsheets stuff seems to be changing all the time, and it's hard to tell whether or not it's supported and to what degree. But I am currently following up the simplest leads that seem promising. That includes:

  1. Authenticating the user with oAuth2.0 from Google Play Services
  2. Following the latest instructions in the API v3.0 Documentation
like image 32
Nels Beckman Avatar answered Nov 04 '22 19:11

Nels Beckman