NUAA iCal Python
:us: English | :cn: 简体中文 |
:warning: 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
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