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.
There are two different implecations of the same functionality.
- Node.JS
- Python
- Install Node.JS.
- Clone this project to your local computer, then enter nodejs folder.
- Create a application on Google APP engine.
- Enable Google Calendar API access of the application on Google Developers Console.
- Download the client secrets file from your Google Developers Console and put it at the current folder.
- Install dependence packages: npm install.
- Run the application: node app.js.
- Visit http://:9999/login?user=<id> to open the Google OAuth2 login page.
- Now visit http://:9999/event/list?user=<id> to get the lastest event of specified user in JSON format.
[Python wrapper is out of maintaining, because the bottle library is not as stable as expected]
- Install Python 2.7.
- Clone this project and enter python(deprecated) folder.
- Install the Google App Engine SDK for Python, unzip all contents at current folder.
- Follow step 3-5 of python wrapper.
- Run the application: python app.py.
- Follow step 8-9 of python wrapper.