Skip to content

linfan/google-calendar-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Calendar wrapper

This project is a gooogle calendar API wrapper degigned to support multi-user login and provide a easily use way to retrieval the latest event data thought a set of hardware friendly RESTful API.

Google Calendar

There are two different implecations of the same functionality.

  • Node.JS
  • Python

Node.JS wrapper

How to use

  1. Install Node.JS.
  2. Clone this project to your local computer, then enter nodejs folder.
  3. Create a application on Google APP engine.
  4. Enable Google Calendar API access of the application on Google Developers Console.
  5. Download the client secrets file from your Google Developers Console and put it at the current folder.
  6. Install dependence packages: npm install.
  7. Run the application: node app.js.
  8. Visit http://:9999/login?user=<id> to open the Google OAuth2 login page.
  9. Now visit http://:9999/event/list?user=<id> to get the lastest event of specified user in JSON format.

Python wrapper (deprecated)

[Python wrapper is out of maintaining, because the bottle library is not as stable as expected]

How to use

  1. Install Python 2.7.
  2. Clone this project and enter python(deprecated) folder.
  3. Install the Google App Engine SDK for Python, unzip all contents at current folder.
  4. Follow step 3-5 of python wrapper.
  5. Run the application: python app.py.
  6. Follow step 8-9 of python wrapper.

About

a wrapper of google calendar API, provide easier RESTful API and multi-user support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published