Apps Script & Java Script

Easy reference for published scripts

It would be useful to keep a reference guide to all projects and libraries shared on github, and their IDS. If you are using gasgit, then we already have everything needed to make that as […]

Drive

Using Drive SDK from Google Apps Script

If you want to play around with your scripts from within Apps Script, you’ll need to use the drive SDK. Although Drive is available as a Google Apps Script advanced service, the SDK is not – […]

Drive

Polling and the Drive changes API

This topic was covered on Totally Unscripted 5 (TU5). You’ll find the Youtube Channel here. Polling I’ve already covered polling for changes in a number of articles such as Watching for server-side changes from the […]

No Picture
Drive

Tracking github pageviews

Apps Script (advanced level) posted on 16th Oct 2017 Github pageviews You can get things like number of stars and watchers etc from the GitHub REST API repository data, but pageviews are not tracked there. […]

copt between drive and gcs
Apps Script & Java Script

Response format from apps script project query

Format of Info.json Each project directory contains an info file that describes the scripts for this project. It is also used to decide whether the sources in the project need to be refreshed. To force […]

No Picture
Apps Script & Java Script

Making sense of gwt rpc dependency service

Obsolete This post is now pretty much obsolete. As of April 2016, the dependency service seemed to disappear. Next attempt was via a hacked autocomplete service to discover dependencies, which worked until 2018. Now this […]

No Picture
Drive

Getting your apps scripts to Github

GasGit Getting your scripts to Github is not the easiest thing in world. Nowadays people mainly do it manually, which is fine for small scripts, but when you have many with lots of library dependencies, […]

No Picture
Drive

Visualizing Apps Script dependencies

dependencyForce If you use a lot of libraries, sometimes things get a bit messy. You delete an old version to clean up and suddenly notice a few days later that things stop working because it’s […]

No Picture
Drive

Drive SDK and GitHub

You probably have used the Apps Script DriveApp service. There are examples of this scattered throughout the projects on this site. There is another way to manipulate your Google Drive – an SDK that exposes its APIs to external […]

Drive

Drive JSON API for apps script

In Using Drive SDK I described why you might want to use the SDK JSON API rather than the built in Apps Script Drive Class. Before you can start with this you need to authorize your access with OAUTH2, […]