A tool to automatically retrieve information about a course (like the status, grade, etc) from a netP@/netPA (by Digitalis) instance.
This tool is not affiliated or supported by Digitalis.
If you want to receive a Telegram message when the retrieved information changes, check out the Telegram integration branch.
- Firstly clone the repository
- Install
puppeteer
by runningnpm install
- Provide the required environment variables (see below) and run the tool with
node index.js
Variable | Required | Description |
---|---|---|
NETPA_URL |
Yes | The NetPA instance base URL | If the login page is https://example.com/netpa/page then the variable should be https://example.com/netpa |
NETPA_USER |
Yes | Your NetPA username |
NETPA_PASS |
Yes | Your NetPA password |
NETPA_COURSEID |
Yes | The course ID |
NETPA_COURSEINFOCOLUMNID |
No; Defaults to 1071 |
The column ID of the information that will be retrieved | 1071 : Course status, 1075 : Grade * |
* IDs might be different from instance to instance
NETPA_URL=https://example.com/netpa \
NETPA_USER=stu12395 \
NETPA_PASS=hunter2 \
NETPA_COURSEID=1593994 \
NETPA_COURSEINFOCOLUMNID=1071 \
node index.js
Do What The Fuck You Want To Public License (WTFPL)