1.1.2 • Published 3 years ago

magister v1.1.2

Weekly downloads
4
License
ISC
Repository
-
Last release
3 years ago

Magister scraper

This is my TS library for scraping Magister.

The biggest thanks goes to RedDuckss for helping me out with researching the endpoints and such. I couldn't have done it without him.


This library handles login in and sending GET requests with the relevant cookies and such. The endpoints are the same as in the official client and you'll have to enter those yourself.

Example

Getting your schedule would look something like this

import Magister from "magister";

(async () => {
	let client = await Magister.new({
		username: "jouw_id",
		password: "jouw_wachtwoord",
		hostname: "school.magister.net"
	});

	let url = `https://${client.hostname}/api/personen/${client.userId}/afspraken`;
	let data = await client.get(url);

	console.info(data);

})();
1.1.1

3 years ago

1.1.0

3 years ago

1.1.2

3 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago