Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Basic Setup

nobe4 edited this page Dec 18, 2014 · 15 revisions

The basic setup require to create a calendar and a google script.

Create the calendar

  1. Follow the steps on : Create a google calendar
  2. Get your calendar ID

Create the Script

From an empty script

  1. If you haven't created a script yet, got to this overview
  2. Create a script in your Google Drive
  3. Copy the content of main.gs
  4. Paste it in your created script

Copy the Google script

  1. Copy the main.gs file into your Google Drive.

Configure the constant variables

Required Variables

  • address

Address of your extranet, copy the full http address : http(s)://extranet.example.com

  • username

Your username for the extranet.

  • password

Your password for the extranet.

  • calendar

Your calendar ID previously pasted.

  • anonymous_stats

true or false if you want to send anonymous report of your connections.

Optional variables

  • log_level

Logging level:

  1. errors only
  2. 1 + cookies and little infos
  3. 2 + requests
  • step

The number of day you want to be updated.

  • email

If you want an error notification with mail, fill it with the wanted mail.

  • sheet_id

If you want an error notification inside a spritesheet, fill it with the wanted id.

  • log_update

true or false if you want in your event description the updated time.

  • branch

master for only stable release, develop for all release.

  • override_location (thanks to epsy)

true or false, will prefix the title with the room number.

Configure the trigger

  1. Create the trigger
  2. Set the time preference

Clone this wiki locally