Read and Write to Google Sheets using JSON backend - json

I am trying to accomplish the same as the GitHub link, anyone has experience and can suggest a successful best practice?
Google Apps Script to read JSON and write to sheet

Found it, for Python Python Bookshelf App from a previous stackoverflow article: Reading & Writing JSON file on Google Cloud Storage using Python, I believe there is the same for Java, have to review a bit more Java on Google Cloud Platform

Related

Generate a google doc via Java

I've been swimming through searches and tutorials and guides and references for days, and I can't seem to find a good way to generate google docs via Java.
I can generate/import .txt files as regular google doc files successfully with java using the drive api, but that's only text files; I need to at least include unordered lists and links in the doc for it to be useful.
My next attempt would be to generate a .rtf or a .doc and then try to import that into google docs, but before I embark on such a project, I wanted to ask you guys first. I also see the realtime api, but it looks like it doesn't specifically deal with docs, just arbitrary data.
What's the recommended way to upload a new google doc with lists and links and stuff?
Thanks!
Probably the simplest import format would be HTML. Just set convert=true and you should be good to go.
There is no stand-alone API for creating or manipulating the contents of Google Docs files. As you've found, you can create documents in other formats and import them with the Drive API.
If you don't need to work in Java, the other option is to use Google Apps Script, which provides a service for creating and manipulating Google Docs files. More information in this guide.

How may ways to implement interaction be Google Sreadsheet and Google App Engine

Currently, we use JSon string to communicate between our Google Spreadsheet application and our services hosted at Google App Engine. When the JSon data object becomes large, the communication becomes very slow.
My question is what are the other ways to implement the interaction/communication for large data object between Google Spreadsheet and Google App Engine.
Thanks, Mike
That would be ScriptDb. For Google Apps for Business it can contain 200 MB of data.
See reference for code examples, in combination with Google Spreadsheet.
See also the site of Bruce McPherson. He wrote a library around the ScriptDb: Using ScriptDb
Reference: ScriptDb

Migrating to Drive SDK from DocumentsList API V3

I just came to know that DocumentsList API is depricated. So i thought of migrating my app to Drive and saw this page. I mostly use urls like https://docs.google.com/feeds/default/private/full/. So is it enough to replace them with new URL's like this https://www.googleapis.com/drive/v2/files/ ?
Just wanted to confirm is that all i need to takecare or am I missing anything. My App uses OAuth2 for authorization. Do I need to change anything in there too?
If you are constructing the requests yourself, you have to replace the URLs but also take into account that the responses from the Drive API will be JSON-formatted and not XML-formatted as in the Documents List API.
If instead you are using one of the Google-provided client libraries, you have to start using a newer client library, that you can download from https://developers.google.com/drive/downloads.
The migration guide is mostly a guide that maps methods from the Documents List API into methods of the Drive API and should be used as reference to know what is available and where.
Oauth 2.0 is fine. You can even use the same tokens you already have for Documents List v3.

Google Maps API and Lua

I am a developer working on Lua scripting as my backend code for mobile app development. I have a requirement to use the Google Maps service and the google directions service within my Lua script to enable GPS tracking and sore some of the information into a database.
The following link helped me a little to understand how to achieve the functionality but is the same possible with Lua Script? (where I don't use any HTML or javascript anywhere).
https://google-developers.appspot.com/maps/documentation/javascript/examples/directions-waypoints

How can an IOS app access Google Drive files

Does anyone know how if IOS apps can access files stored on Google Drive?
I did not find what I was looking for on https://developers.google.com/drive/
thanks
Andy
The API for Google Drive is now released for Objective C. You can find it here:
http://code.google.com/p/google-api-objectivec-client/
Google Drive App for iOS will be release soon, is what was said in some articles. See below.
http://www.gottabemobile.com/2012/04/24/google-drive-for-iphone-and-ipad-coming-soon/
http://www.readwriteweb.com/archives/full-sized_screenshots_of_the_google_drive_ipad_ap.php
I think the generic Google GTL Library (Google APIs Client Library for Objective-C - http://code.google.com/p/google-api-objectivec-client/ ) is going to include some generated code for Drive access. Drive SDK docs seem to link there but the code is still missing. Doc is also a bit inconsistent regarding iOS native apps:
"Apps will not have any API access to files unless the app has been installed in Chrome Web Store. To test an app during development, you must first create a listing and install it."
Nico.
Yep although not directly through Objective C you would need to interface with Ruby, Python, PHP, or Java.
Here is a list of Examples: https://developers.google.com/drive/examples/index
http://itunes.apple.com/us/app/idocs-hd-pro-for-google-docs/id498653441?mt=8, I found this App
can access google drive files on iPad, maybe google docs api can
You can use the Google Data APIs Objective-C Client Library to access files stored in Google Drive using the Documents List API.
The library also includes a complete sample: http://code.google.com/p/gdata-objectivec-client/source/browse/#svn%2Ftrunk%2FExamples%2FDocsSample
"Google APIs Client Library for Objective-C" has been depreciated by Google and is only working for apps already on AppStore.
New Implementation for accessing Google Drive API for iOS using "Google APIs Client Library for Objective-C For REST".
Here is the working implementation for accessing Google Drive Files in iOS using "Google APIs Client Library for Objective-C For REST" library : https://stackoverflow.com/a/41649210/1999368