background preloader

Building Your First Script - Google Apps Script

Building Your First Script - Google Apps Script
Google Apps Script is a rapid application development platform that makes it fast and easy to create business applications that integrate with Google Workspace. You write code in modern JavaScript and have access to built-in libraries for favorite Google Workspace applications like Gmail, Calendar, Drive, and more. There's nothing to install—we give you a code editor right in your browser, and your scripts run on Google's servers. If you're new to JavaScript, Codecademy offers a number of JavaScript courses. (Note that these courses weren't developed by and aren't associated with Google.) What can Apps Script do? Apps Script is versatile. Your first script Build and run a simple standalone script that creates a Google Doc and emails you a link to it. Set it up To build the script, follow the steps below. Try it out To execute the script, follow the steps below. Learn more To continue learning about Apps Script, take a look at the following resources:

Big Updates for Apps Script Today at Google I/O, we announced many enhancements to Google Apps Script to help you build richer applications and share your apps with users. Apps Script began as a tool for helping users get more done with their Google spreadsheets. Over time, Apps Script has grown to handle much more. We launched script.google.com as a destination for Apps Script developers. HtmlService can help you create beautiful interfaces using Apps Script. We also launched a better way to store your application's data, ScriptDb . There are also now more options for deploying your web app. Finally, we wanted to make it easy to distribute your apps. We added a lot of new functionality to Apps Script, so in addition to our developer reference documentation , we've also created a new user guide . Building with Google Apps Script has become a lot easier and more powerful.

Certification G Suite  |  Certifications Google Cloud  |  Google Cloud En obtenant la certification Google Cloud pour G Suite, vous prouvez à votre employeur que vous possédez les compétences numériques nécessaires pour travailler en collaboration de manière efficace dans un environnement professionnel. Par ailleurs, la certification G Suite montre que vous savez effectuer des tâches professionnelles courantes, comme utiliser les outils basés sur le cloud pour créer et partager des documents, des feuilles de calcul, des présentations et des fichiers. Vous démontrez également votre capacité à communiquer efficacement à l'aide de solutions de réunion en ligne et de messagerie. Cet examen vérifie que vous maîtrisez les fonctionnalités clés suivantes de la plate-forme G Suite : checkDrive checkGmail checkHangouts Meet checkDocs checkSheets checkForms checkSlides À propos de cet examen de certification Clés pour réussir l'examen Lisez le guide de l'examen Obtenez un aperçu des sujets susceptibles de figurer à l'examen. Préparez-vous à l'examen

Introduction - Google Caja The Caja Compiler is a tool for making third party HTML, CSS and JavaScript safe to embed in your website. It enables rich interaction between the embedding page and the embedded applications. Caja uses an object-capability security model to allow for a wide range of flexible security policies, so that your website can effectively control what embedded third party code can do with user data. The Caja Compiler supports most HTML and CSS and the recently standardized "strict mode" JavaScript version of JavaScript -- even on older browsers that do not support strict mode. Benefits of using Caja New JavaScript Features.

Google Sheets : Les fonctionnalités indispensables (2/2) Suite au premier article sur les indispensables de Google Sheets, continuons la découverte des fonctionnalités essentielles de ce tableur avec ce deuxième épisode. (Découvrez également les Indispensables pour Google Docs et Google Slides) Tutoriel vidéo : Indispensables Sheets (2/2) Appliquer des mises en forme conditionnelles Cette fonctionnalité permet d’appliquer une mise en forme spécifique selon des paramètres définis. Elle est à mon avis très pratique pour rendre des fichiers sheets plus pertinent, agréable et efficace. Cela permet notamment de rendre plus visuelles certaines valeurs (exemple : présence aux entraînements). Exemple de mise en forme conditionnelle avec Sheets Pour apprendre à utiliser pleinement cette fonctionnalité, je vous recommande de jeter un coup à l’article : Mise en forme conditionnelle et validation de données. Créer une liste déroulante (Validation de données) Vous pouvez avec cette fonction créer des listes déroulantes de différentes façon. Conclusion

JavaScript Client Library for Google APIs Alpha version released By Brendan O’Brien and Antonio Fuentes, Google Developer Team Today we reached another milestone in our efforts to provide infrastructure and tools to make it easier for developers to use Google APIs: we have released the Google APIs Client Library for JavaScript in Alpha. This client library is the latest addition to our suite of client libraries, which already includes Python, PHP, and Java. This compact and efficient client library provides access to all the Google APIs that are listed in the APIs Explorer. The client library is also flexible, supporting multiple browser environments including Chrome 8+, Firefox 3.5+, Internet Explorer 8+, Safari 4+, and Opera 11+. In addition, the JavaScript client library supports OAuth 2.0 authorization methods. You can load the client library using the following script tag: Loading an API and making a request is as easy as executing: To get started, visit the JavaScript Client Library documentation page.

Google Slides : les fonctionnalités Indispensables - G Suite L’application de création de présentation Google Slides et une très bonne solution pour créer des présentations à la fois simple et efficace. Voici dans cet article une présentation des choses importantes à connaître pour maîtriser pleinement la solution. Découvrez également les autres articles des indispensables G Suite avec : Google Docs et Google Sheets. Tutoriel Vidéo : Indispensables Slides Créer de superbe présentation avec des modèles Avec Slides vous pouvez créer facilement des présentations de qualité par l’intermédiaire de nombreux modèles disponibles. Soit depuis les modèles offerts par Google, ou encore depuis des sources externes suivantes : Gagner du temps avec l’assistant « Explorer » Tout comme avec Google Sheets & Docs, l’assistant Explorer permet de gagner du temps avec Slides. De plus à l’ouverture de la fonctionnalité l’assistant vous propose d’ajouter des Slides adaptés à votre présentation (En savoir plus sur l’assistant Explorer). Créer ou modifier un thème Conclusion

Using the JavaScript Client Library (v2.0) - Google Data APIs Warning: This page is about Google's older APIs, the Google Data APIs; it's relevant only to the APIs that are listed in the Google Data APIs directory, many of which have been replaced with newer APIs. For information about a specific new API, see the new API's documentation. For information about authorizing requests with a newer API, see Google Accounts Authentication and Authorization. This document describes how to use the JavaScript client library to send Google Data API queries and interpret returned responses. Google provides a set of client libraries, in a variety of programming languages, for interacting with services that have data APIs. This document provides some general information about using the JavaScript client library, along with a set of examples of common uses. This document is intended for JavaScript programmers who want to write client applications that can interact with Google Data services. If you're new to JavaScript, the control flow may be a little confusing.

Google Sheets : Les indispensables (1/2) — Windtopik Vous débutez avec Google Sheets ou vous souhaitez approfondir vos connaissances sur cette solution ? Cet article est conçu pour vous aider à maîtriser encore plus le tableur de Google. Vous allez découvrir dans ce premier « épisode » de nombreuses fonctionnalités importantes à connaître pour réaliser des fichiers de qualité. Bref, trêve de bavardage, passons tout de suite à la pratique ! Découvrez la formation : « Google Sheets : Les Fondamentaux » pour bien débuter et maîtriser pleinement les bases du tableur de Google. Découvrez également les autres articles des indispensables G Suite avec : Google Docs et Google Slides. Tutoriel vidéo : Indispensables Sheets (1/2) Une vidéo présentant les fonctionnalités présente dans l’article ci-dessous. Calcul rapide et fonction Explorer Si vous souhaitez gagner du temps lors de la réalisation d’un fichier Sheets, voici deux fonctionnalités très intéressantes. Protéger des onglets ou des plages de données Utiliser et accéder à la liste des fonctions

Getting Started - Google APIs Discovery Service The Discovery API provides a list of Google APIs for retrieving a machine-readable "Discovery document" metadata for each API. This document is intended for developers who want to write client libraries, IDE plugins, and other tools for interacting with Google APIs. Discovery Service Background Concepts The Google APIs Discovery Service is built upon two basic concepts: APIs Directory: A list of all APIs that are supported by the APIs Discovery Service. Data model A resource is an individual data entity with a unique identifier. APIs Directory List: A list of APIs Each directory entry contains an API name/version pair with the following information: Discovery Document resource: A machine-readable description of a particular API In addition to the information provided in the APIs Directory, a Discovery document also includes: The single Directory Collection is the conceptual container of the single APIs Directory resource, and the Discovery Document resources for each supported API. Operations

Google Docs : Les fonctionnalités indispensables - G Suite Suite au premier article sur les indispensables des applications G Suite avec Google Sheets, voyons dans cet article les fonctionnalités indispensables de Google Docs. Google Docs est une application de traitement de texte qui permet de réaliser des documents simples et de bonne qualité. De plus, les fonctionnalités de partage et de collaboration sont des atouts non négligeables si vous avez besoin de travaillez avec d’autres personnes sur des documents. Bref, voyons tout de suite en détail ces fonctionnalités. Découvrez également les autres articles des indispensables G Suite avec : Google Sheets et Google Slides. Tutoriel vidéo : Indispensable Docs Fonction Explore Tout comme Google Sheets et Slides, la fonction Explorer sur Docs est une sorte d’assistant qui permet de gagner du temps. Utilisez la fonctionnalité Explorer pour gagner du temps avec Docs. Appliquez un style Avec Google Docs il est très simple d’appliquer un style particulier à un document. Plan du document et Table des matières .

Using the API - Google APIs Discovery Service Contents Introduction This document is intended for developers who want to write client libraries, IDE plugins, and other tools for interacting with Google APIs. The Google APIs Discovery Service allows you to do all of the above by exposing machine readable metadata about other Google APIs through a simple API. All calls to the API are unauthenticated, JSON-based, REST requests that use SSL, i.e. If you're unfamiliar with Google APIs Discovery Service concepts, you should read Getting Started before starting to code. Discovery document format This section gives an overview of the Discovery document. All the examples below use the Discovery document from the URL Shortener API. GET Try it now in APIs Explorer! The format of a Discovery document includes information that falls into six main categories: Basic description of the API. Each of these Discovery document sections is described below. Basic API Description Authentication

G Suite Status Dashboard <div id="aad-nojs">Please enable javascript to see the table containing service performance information.</div> <div id='aad-nojs'>Please enable JavaScript to see the table containing service performance information. G Suite Status Dashboard Cette page fournit des informations sur les performances des services Google suivants. Consultez cette page régulièrement pour connaître l'état actuel des services répertoriés ci-dessous. Produits couverts par le Contrat de niveau de service G Suite et les Consignes du service d'assistance technique: Produits couverts par le Contrat de niveau de service G Suite, le Contrat de niveau de service Cloud Identity et les Instructions relatives aux services d'assistance technique: Produits non couverts par le Contrat de niveau de service G Suite: Flux RSS Toutes les heures s'affichent par défaut dans votre fuseau horaire local. Aucun problème détecté Service perturbé Interruption de service Accueil Google - Confidentialité - À propos de Google - Assistance

Performance Tips - Google APIs Discovery Service This document covers some techniques you can use to improve the performance of your application. In some cases, examples from other APIs or generic APIs are used to illustrate the ideas presented. However, the same concepts are applicable to the Google APIs Discovery Service. Another way to improve the performance of your API calls is by requesting only the portion of the data that you're interested in. Partial response By default, the server sends back the full representation of a resource after processing requests. To request a partial response, use the fields request parameter to specify the fields you want returned. Example The following example shows the use of the fields parameter with a generic (fictional) "Demo" API. Simple request: This HTTP GET request omits the fields parameter and returns the full resource. Full resource response: The full resource data includes the following fields, along with many others that have been omitted for brevity.

Related: