Google Apps Script
57
The GAS: All things Google Apps Scripty
Curated by Martin Hawksey
Follow
Your new post is loading...
Scooped by Martin Hawksey
Scoop.it!

Reading List Mark 2 – Part 3: Using the UrlFetch Services to interact with the Google+ API

"This is Part 3 in a series about an example app that I put together to demonstrate and describe the use of various Google Apps Script features. See Part 1 for an introduction. This part is “Using the UrlFetch Services to interact with the Google+ API (after all, it’s REST-based!) and grab info on articles pointed to by users in their activity stream“."

No comment yet.
Scooped by Martin Hawksey
Scoop.it!

Beautiful Pixels: Gmail Follow Up Script

"I have lots of email I want to follow up on later or put aside for some time. I use Gmail these days, and I miss Outlook's built in feature for this. Well, there's a solution, the apps script team posted a script for "snoozing" email. My modified take on it is this gmail Follow Up script doc.

 

The implementation summary is: You can have javascript code run on a Google server at a regular interval that manipulates your gmail messages. You do so by creating a Google Docs Spreadsheet and adding script code to it. I modified the original in a few ways ..."

No comment yet.
Scooped by Martin Hawksey
Scoop.it!

Google Apps Blog: Getting started with custom functions in Google spreadsheet

Google Apps Blog: Getting started with custom functions in Google spreadsheet | Google Apps Script | Scoop.it

Google spreadsheet has a very large collection of functions for you to use when you are developing a spreadsheet. There's functions for manipulation text, arrays, and dates, doing financial and statistical calculations and much more - you can see the whole list in the documentation. Although there's a lot of functions available you might run into a situation where you need to make your own function, and to do that you need to write a bit of JavaScript (about JavaScript in WikiPedia).

 

Lets look at a simple example: In a spreadsheet you need to convert calories (kcal in EU) to kilojoules (kJ), and instead of doing the calculation in cells (calories * 4.2) you like to use a function called CaloriesToKilojoules. Here's how to do that:

No comment yet.
Scooped by Martin Hawksey
Scoop.it!

Google Spreadsheets as a Database – INSERT with Apps Script form POST/GET submit method « MASHe

I was recently rediscovering an old Hirst post on Google Spreadsheets as a Database in which he demos an “interface for constructing URIs to query Google spreadsheets using the Google query language”. It got thinking one of the aspects of databases is getting data in. I tackled this when I was at Dev8D back in February with the post Collecting any data in a Google Spreadsheet using GET or POST. At the time I was planning a follow-up post to show a practical application but never got around to it.

So here is a more refined piece of code which actually records data submitted from your own form or custom code:

No comment yet.
Scooped by Martin Hawksey
Scoop.it!

DJ's Weblog » Blog Archive » Reading List Mark 2 – Part 1

" Over on the Google Apps Scripts articles section of the Google Code site there’s a great article “Integrating with Google APIs – Creating a simple reading list” which takes the reader through a nice example of using a couple of APIs that have recently been made available to Google Apps Script via the Google APIs Services – the UrlShortener API and the Tasks API. Inspired by the article, I decided to take the idea a little bit further and build something I could demo and then explain at our Manchester GTUG meetup."
No comment yet.
Scooped by Martin Hawksey
Scoop.it!

DJ's Weblog » Blog Archive » Automated email-to-task mechanism with Google Apps Script

DJ's Weblog » Blog Archive » Automated email-to-task mechanism with Google Apps Script | Google Apps Script | Scoop.it
'This post takes the reader through a simple application, showing the steps required, the code and the supporting setup to build an automated email-to-tasks mechanism. It uses the Gmail Services, Spreadsheet Services and the new Google APIs Services, specifically Tasks.'
No comment yet.
Scooped by Martin Hawksey
Scoop.it!

Using Fusion Tables with Apps Script - Google Apps Developer Blog

Using Fusion Tables with Apps Script - Google Apps Developer Blog | Google Apps Script | Scoop.it

Ferris Argyle demonstrates a Apps Script snippet to read records from a Google Fusion Table

No comment yet.
Scooped by Martin Hawksey
Scoop.it!

Collection of Apps Script Tutorials from Waqar Ahmad

Find a vast collection of Google Apps Script (GAS) demos and examples.GAS Tutorial, Google Apps Script Tutorial by Waqar...
No comment yet.
Suggested by Antonio Rinaldi
Scoop.it!

sei-uno-zero-nove » Blog Archive » a batch data processing to visualize social network maps

sei-uno-zero-nove » Blog Archive » a batch data processing to visualize social network maps | Google Apps Script | Scoop.it

How to use Google Spreadsheet and Google Apps script to batch collect and visualize data about social networks statistics.

No comment yet.
Scooped by Martin Hawksey
Scoop.it!

Building an Idea Bank using Google Apps Script - Google Apps Developer Blog

Building an Idea Bank using Google Apps Script - Google Apps Developer Blog | Google Apps Script | Scoop.it

"a guest post by Saqib Ali. Saqib is a Google Apps evangelist at Seagate. He has used Apps Script to create a number of applications that leverage Google Apps. His other interests include the curation of Lewis Carroll’s letter and translation of Urdu poetry to English"

No comment yet.
Scooped by Martin Hawksey
Scoop.it!

Can you find your company on the Seattle Startup Map? - GeekWire

Can you find your company on the Seattle Startup Map? - GeekWire | Google Apps Script | Scoop.it

Zachary Cohn and Nick Hughes were planning out the logistics for the next Startup Crawl event in Seattle when they recognized a problem. There wasn't a go-to map to see where startup companies are located in the Seattle area. He [Cohn] wrote a Google apps script to scrape the Seattle 2.0 Index, the online directory of 476 startups in the region. Then, he ran all of the companies through the address lookup service Switchboard.com, exporting them to the Google Map via Batchgeo.

No comment yet.
Scooped by Martin Hawksey
Scoop.it!

Create a custom CRM dashboard using Google Apps Script - Google Apps Developer Blog

Create a custom CRM dashboard using Google Apps Script - Google Apps Developer Blog | Google Apps Script | Scoop.it
"Solve360 CRM integrates with Google services to provide a two-way contact & calendar sync, email sync and a comprehensive Gmail contextual gadget. We use the standard Google Data APIs. However, some of our use cases required us to use Google documents and spreadsheets. Enter Apps Script!. What brought our attention to Google Apps Script was that it allows you to run your application code right within the Google Apps platform itself, where documents can be manipulated using a wide range of native Google Apps Script functions, changing the perspective."
No comment yet.
Scooped by Martin Hawksey
Scoop.it!

FIXED: Issue 634 - google-apps-script-issues - Session.getActiveUser().getUserLoginId() does NOT work for EDU domains - Google Apps Script issues and feature requests - Google Project Hosting

FIXED: Issue 634 - google-apps-script-issues - Session.getActiveUser().getUserLoginId() does NOT work for EDU domains - Google Apps Script issues and feature requests - Google Project Hosting | Google Apps Script | Scoop.it

"This has been fixed/implemented. All EDU domains scripts can now use Session#getActiveUser and get the email address of the user hitting the script.

Please verify and let us know if there are any issues.

Sorry it took a little long."

No comment yet.
Scooped by Martin Hawksey
Scoop.it!

Suggest an article for The GAS: Google Apps Script Scoop « MASHe

Suggest an article for The GAS: Google Apps Script Scoop « MASHe | Google Apps Script | Scoop.it
For a while I've been curating 'The GAS' which is a collection of Google Apps Script examples and news pulled together using scoop.it. I started it mainly.
No comment yet.
Scooped by Martin Hawksey
Scoop.it!

Going beyond 25GB of Google Apps mailbox (using Apps Script to label emails based on attachment size)

"You can use this simple script which will run and add a label to your messages (in addition to existing labels which you might already have) which have attachments of 1, 5, 10, 20 or 50MB. Off course you can customize the script to allow additional/different capacities."

No comment yet.
Scooped by Martin Hawksey
Scoop.it!

DJ's Weblog Reading List Mark 2 – Part 2: using the Tasks Services & Ui Services in Google Apps Script

DJ's Weblog Reading List Mark 2 – Part 2: using the Tasks Services & Ui Services in Google Apps Script | Google Apps Script | Scoop.it

This is Part 2 in a series about an example app that I put together to demonstrate and describe the use of various Google Apps Script features. See Part 1 for an introduction. This part is “Using the Tasks API to retrieve and insert tasklists, and the Ui Services to build the tasklist chooser component“.

No comment yet.
Scooped by Martin Hawksey
Scoop.it!

GDD - Enterprise Workflow with Apps Script

Slides and example links from Nicolas Garnier's (@Nivco) presentation Enterprise Workflow with Apps Script 

No comment yet.
Scooped by Martin Hawksey
Scoop.it!

Ad-hoc Data Workflows with Google Apps Script - Pipetree

Ad-hoc Data Workflows with Google Apps Script - Pipetree | Google Apps Script | Scoop.it
As you noted, Google Apps Script is excellent for data workflows. It acts as a super glue for various data repositories (e.g. spreadsheets, sites, gdocs, gmail) in the Google Apps suite. However, I am noticing that it is not so ...
No comment yet.
Scooped by Martin Hawksey
Scoop.it!

Calorie Counting with Google Apps Script - Google Apps Developer Blog (Populating a Google Spreadsheet from coded email)

Calorie Counting with Google Apps Script - Google Apps Developer Blog (Populating a Google Spreadsheet from coded email) | Google Apps Script | Scoop.it

By setting up a Google Apps Script to monitor his gmail inbox Google Engineer Drew Csillag is able to automaticaly populate a Google Spreadsheet of his dailly calorie intake populated from emails he sends himself.

No comment yet.
Scooped by Martin Hawksey
Scoop.it!

Automating school processes with Apps Scripts webinar

Part of the Google Apps for Education Professional Development Webinar series - www.google.com/apps/intl/en/edu/webinars.html Automating School Processes wit...
No comment yet.
Scooped by Martin Hawksey
Scoop.it!

Using the Viralheat Sentiment API and a Google Spreadsheet of conference tweets to find out how that keynote went down « MASHe

Using the Viralheat Sentiment API and a Google Spreadsheet of conference tweets to find out how that keynote went down « MASHe | Google Apps Script | Scoop.it

Something I’ve been meaning to do for a while is find a way to quickly (and freely) analysis a twitter stream to identify the audience sentiment. You can pay big bucks for this type of solution but fortunately viralheat have a sentiment API which gives developers 5,000 free calls per day. To use this you push some text to their API and you’ll get back the text mood and probability that the sentiment detected is correct (more info here).

So here is a second-by-second sentiment analysis of Donald and Joe’s presentations, followed by how it was done (including some caveats about the data).

No comment yet.
Scooped by Martin Hawksey
Scoop.it!

Romain Vialard - Google+ - Gmail Stats! Get a monthly activity report on Gmail

Romain Vialard - Google+ - Gmail Stats! Get a monthly activity report on Gmail | Google Apps Script | Scoop.it
Gmail Stats!Get a monthly activity report on Gmail thanks to Google Script: number of emails send and received, Top 5 senders and recipients, average…...
No comment yet.
Scooped by Martin Hawksey
Scoop.it!

Citing With URIs in Google Docs

"a script that runs in Google Docs, turning inline citations into a formatted bibliography. It lets you cite using DOIs, Mendeley library IDs, or any URL that returns metadata as JSON. It's a first, basic attempt"

No comment yet.
Scooped by Martin Hawksey
Scoop.it!

Three new APIs for Google Apps Script (Tasks API, Prediction API, and URL Shortener API )

Three new APIs for Google Apps Script (Tasks API, Prediction API, and URL Shortener API ) | Google Apps Script | Scoop.it

"In January of this year we launched BigQuery integration with Google Apps Script. What we didn’t mention was that we were building this on top of our Google APIs Discovery Service. Thanks to the ease and flexibility of writing clients based on this API, today we’re announcing integration with three more APIs, and revamping our BigQuery support.

 

As of now, we have also integrated the Tasks API, Prediction API, and URL Shortener API in addition to the BigQuery API. You can now include these APIs in your scripts, apps, and sites pages. As with other Apps Script services, we handle all of the server communications as well as authorization, which makes this a great way to build mashups and workflows using our APIs."

No comment yet.
Scooped by Martin Hawksey
Scoop.it!

Visualize Your Data: Charts in Google Apps Script! - Google Apps Developer Blog

Visualize Your Data: Charts in Google Apps Script! - Google Apps Developer Blog | Google Apps Script | Scoop.it

"Charts are a great way to communicate significant amounts of data. We’ve joined forces with the Google Chart Tools team in order to bring a new Charts API to Apps Script. Every day, millions of charts are created, updated, put into presentations, emailed to managers, and published as web pages. Our goal is to automate chart creation in Google Apps and make the sometimes-tedious tasks of chart creation and updating a little more fun!"

No comment yet.