Skip to content
This repository has been archived by the owner on Nov 13, 2019. It is now read-only.

Latest commit

 

History

History
87 lines (56 loc) · 2.52 KB

README.md

File metadata and controls

87 lines (56 loc) · 2.52 KB

NUAA iCal Python

PyPI - Python Version Build Status pypi package PyPI - Status PyPI - License FOSSA Status

🇺🇸 English | 🇨🇳 简体中文

⚠️ The NUAA curriculum APIs have been deprecated, so this program DO NOT WORK for now. Please see this repo miaotony/NUAA_ClassSchedule for your alternative.

Export the curriculum of NUAA to a .ics calendar file, in order to import class events to other calendars (e.g. Google Calendar).

Pull Requests Welcome!

Quick Start

DEMO

Installation

PyPI

Install NUAAiCal python package:

$ pip install NUAAiCal

If there has a problem caused by permission, please try pip install NUAAiCal --user instead.

Source

Built it from source code:

$ git clone https://github.com/Triple-Z/NUAA-iCal-Python.git
$ cd NUAA-iCal-Python
$ python setup.py install

Start Application

$ nuaaical

The .ics file path will be shown in the output, you can import it to Google Calendar etc.

Troubleshoot

Command Not Found

nuaaical: command not found

Maybe your system PATH environment variable lacks of the value of ~/ .local/bin . Try the command following, then run nuaaical again:

$ export PATH=${HOME}/.local/bin:$PATH

TODO

  • Get course table data
  • Generate iCal file
  • Input Variables
  • Pack
  • Calendar Diff
  • GUI
  • Export to Google Calendar
  • WSGI server

Copyright

This project is licensed by The MIT License.

Copyright © 2018 TripleZ

License

FOSSA Status