Giter Site home page Giter Site logo

googleappsscripts's Introduction

GoogleAppsScripts

A collection of scripts for Google Apps Scripts

  1. EnhancedCacheService - a cache service which adds additional features to GAS's native cache (i.e. CacheService).
  2. XmlRpcMessageService - a service for converting XMLs in the XML-RPC format to and from javascript objects to ease their use. Also provides a method for posting method calls and parsing the response.
  3. GmailSearchBuilder - a builder service for Gmail search queries.

googleappsscripts's People

Contributors

andrewroberts avatar yinonavraham avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

googleappsscripts's Issues

XmlRpcMessageService - [New Feature] JavaScript function binding to remote method calls

Add support in creating a binding between native JavaScript functions and remote method calls.

For example,
An XML-RPC service with a remote method call named sayHello which gets a single string parameter and outputs a string value.
Request:

<methodCall>
    <methodName>sayHello</methodName>
    <params>
        <param><value><string>Yinon</string></value></param>
    </param>
</methodCall>

Response:

<methodResponse>
    <params>
        <param><value><string>Hello Yinon</string></value></param>
    </params>
</methodResponse>

Can be mapped to JavaScript function:

var response = service.sayHello("Yinon"); // returns "Hello Yinon".

The service can be created using a method in the XmlRpcMessageService which gets the URL of the server and optionally the names of the methods. If the server supports the system.listMethods method then it will be used for generating the functions. For example:

var service = XmlRpcMessageService.bind("http://www.example.com/xml-rpc", ["sayHello"]);
var response = service.sayHello("Yinon");

License for use

Hi there. I would like to use the EnhancedCacheService code in my commercial project . Is there a license this code is under or am I free to use this with attribution?

Very useful stuff. Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.