blob: d38f5a1cd6337eb6d1c894c8f1f17aaf90e3d4ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# SPlus Parser
The [Ostfalia SPlus lecture schedule](http://splus.ostfalia.de) is complicated to use, due to the lacking responsiveness especially on smartphones. However there are some really good and easy to use calendar programs/apps. This project serves as a bridge between SPlus and those programs.
## Setup
### General
Run `npm install` to install the necessary dependencies.
### Google
Follow the steps provided by Google: https://developers.google.com/calendar/auth#OAuth2Authorizing
You will receive a `client_secret.json` file which contains your Google API credentials. Save this file as `etc/google/client_secret.json`.
Adjust `config.ts` so that it uses the `sinks/GoogleCalendarSink`. Then run `npm start` in a terminal, visit the printed link and paste the code that will be provided there into the terminal window.
### ICS
Adjust `config.ts` so that it uses the `sinks/IcalSink`. Run `npm start` to generate the calendar file.
|