Google App ScriptTeach to yourself App Script in 20 minutes
Create New Script
Create a blank project
Write Javascript code
"Inbox Counter"
External API: JSON https://developers.google.com/apps-script/external_apis// Parse JSONvar json = response.getContentText(...
GData API
Simple API Usage: GmailApphttps://developers.google.com/apps-script/class_gmailapp
Handling GET: doGet()function doGet(e) {  var output = ContentService.createTextOutput();  output.setMimeType(ContentServi...
Deploy
Deploy as web for everyone to use
Test URL
Output
Upcoming SlideShare
Loading in...5
×

App script

937

Published on

A quick guide to getting started with Google App Script.

Published in: Technology, Business
1 Comment
3 Likes
Statistics
Notes
No Downloads
Views
Total Views
937
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
4
Comments
1
Likes
3
Embeds 0
No embeds

No notes for slide

App script

  1. 1. Google App ScriptTeach to yourself App Script in 20 minutes
  2. 2. Create New Script
  3. 3. Create a blank project
  4. 4. Write Javascript code
  5. 5. "Inbox Counter"
  6. 6. External API: JSON https://developers.google.com/apps-script/external_apis// Parse JSONvar json = response.getContentText();var data = JSON.parse(json);// Construct JSONvar data = { "title": "Dog Skateboarding", "description": "My dog gets some serious air"}var payload = JSON.stringify(data);
  7. 7. GData API
  8. 8. Simple API Usage: GmailApphttps://developers.google.com/apps-script/class_gmailapp
  9. 9. Handling GET: doGet()function doGet(e) { var output = ContentService.createTextOutput(); output.setMimeType(ContentService.MimeType.JSON); output.setContent( loadData() ); return output;}
  10. 10. Deploy
  11. 11. Deploy as web for everyone to use
  12. 12. Test URL
  13. 13. Output
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×