samuelmasuy / Concordia-Schedule-to-Gcal

This is a web application that converts your University(Concordia) schedule to recurring Google calendar events.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Concordia schedule to Google cal.

Notice

This application is deprecated since Concordia changed its student user interface to a close application. BOOOOH!!!

Description

This is a web application that converts your University (Concordia) schedule to recurring Google calendar events, it uses the micro-framework Flask. The app parses the academic schedule provided on the website of MyConcordia with the help of lxml using XPath. It also parses http://www.concordia.ca/maps/sgw-campus.html and http://www.concordia.ca/maps/loyola-campus.html to get each possible physical location on the two campuses of Concordia.

Installation

I strongly suggest you to create a virtualenv for this project. Then, providing you have pip installed on your machine, use pip install -r requirements.txt to install the required modules.

Configuration file

Make sure to modify appropriately config_example.py, with the CLIENT_ID and CLIENT_SECRET of the app you will create in the the Google API console. Then change the file name to config.py.

Running

    python run.py

will start a Flask server locally. You can now go to http://localhost:5000/ to see the website.

Contribute

Found a bug? Have a good idea for improving this app? If you'd like to contribute or extend this project:

  1. Clone your fork.
  2. Create a branch to contain your change.
  3. Hack!
  4. Make sure everything is running well run tests using py.test and closely follow flake8.
  5. Document in a README your new functionalities.
  6. Push the branch on GitHub.
  7. Send a pull request to this project.

License

GNU General Public License version 2.0 Please refer to LICENSE.

About

This is a web application that converts your University(Concordia) schedule to recurring Google calendar events.

License:Other


Languages

Language:Python 45.5%Language:HTML 45.3%Language:JavaScript 8.2%Language:CSS 1.0%