Giter Club home page Giter Club logo

google-calendar-display's Introduction

Google Calendar Display

A very simple web service to display conference room status outside the room. Useful to indicate which rooms are free or booked. Created as part of a Course Hero hackathon in November 2014.

The service is a Flask app, written in Python, intended to be viewed from a web browser (in fullscreen or kiosk mode) on a tablet. The tablet could be mounted on the wall or window outside a room. For example, here's a prototype mounted on the Superman conference room at Course Hero:

Here's a screenshot of the app, when the room is free, and shows two upcoming events:

Installation

Install Flask and the Google client libraries via pip:

$ sudo apt-get update
$ sudo apt-get install python-pip
$ sudo pip install --upgrade google-api-python-client python-gflags python-dateutil Flask pytz

Configuration

  1. Open the file calendar_config.py and enter your Google API client ID, client secret, developer key.
  2. Fill the CALENDAR_IDS dictionary with mappings for the room IDs you want to use in a URL to the Google Calendar ID for each room.

Basic Usage

You can run the server in debug mode:

$ python server.py

Using default Flask settings, you would access the app at:

http://<YOUR IP ADDRESS>:5000/<ROOM ID>

And you can see a status list for all conference rooms here:

http://<YOUR IP ADDRESS>:5000/calendars

Or you could configure it to run through a webserver, and on a different port, such as 80.

google-calendar-display's People

Contributors

jtyler avatar

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.