Skip to content

This repository contains practical examples of using Google Apps Script libraries, designed to help developers quickly get started and learn best practices.

License

Notifications You must be signed in to change notification settings

phamthanhnghia/apps-script-library-examples

Repository files navigation

📚 Google Apps Script Library Examples

This repository contains examples of using various Google Apps Script libraries. Each folder includes scripts demonstrating the usage of specific libraries, complete with explanations and best practices.


🚀 Libraries and Examples

🔧 Library 📝 Description 🔗 Examples
📂 DriveApp Access and manage Google Drive. 🌐 View Examples
📊 SpreadsheetApp Manage and interact with Google Sheets. 🌐 View Examples
📅 CalendarApp Interact with Google Calendar. 🌐 View Examples
✉️ GmailApp Read and send emails with Gmail. 🌐 View Examples
🌐 UrlFetchApp Fetch data from external APIs. 🌐 View Examples
🛠️ Utilities Useful helper methods for data manipulation. 🌐 View Examples
📋 FormApp Manage and automate Google Forms. 🌐 View Examples
ScriptApp Manage triggers, OAuth tokens, and project settings. 🌐 View Examples
📄 DocumentApp Create and edit Google Docs programmatically. 🌐 View Examples
🎨 HtmlService Build custom user interfaces using HTML, CSS, and JS. 🌐 View Examples
🪵 Logger Log information for debugging purposes. 🌐 View Examples
🗄️ PropertiesService Store and retrieve script settings and user data. 🌐 View Examples

🎯 How to Use

  1. Open Google Apps Script:

    • Open a Google Workspace app (e.g., Google Sheets, Docs).
    • Navigate to Extensions > Apps Script.
  2. Copy the Code:

    • Browse the examples in the desired library folder.
    • Copy the code into the Apps Script editor.
  3. Test and Execute:
    Customize and run the code in your Google Workspace environment.


🤝 Contributing

Contributions are welcome! Whether it's fixing bugs, adding new examples, or improving documentation, feel free to submit a pull request. Please ensure all additions are well-documented and tested.

About

This repository contains practical examples of using Google Apps Script libraries, designed to help developers quickly get started and learn best practices.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published