mobidziennik-sdk
v1.1.2
Published
TypeScript web scraping SDK for Polish e-gradebook MobiDziennik
Downloads
6
Readme
Mobidziennik SDK
TypeScript web scraping SDK for Polish e-gradebook MobiDziennik.
[!WARNING] I don't recommend enabling 2factor authentication on your account, as it will break the SDK. We will try to support it in future!
Usage
var MobidziennikSDK = require("./index").MobidziennikSDK;
const client = new MobidziennikSDK('<school_id>');
client.authorize('<email>', '<password>').then((el) => {
// Messages
mobi.messages.getMessages().then((messages) => {})
mobi.messages.getMessage('<message_id>').then((el) => {});
// Library
mobi.library.getBooks().then((books) => {})
// Calendar
mobi.calendar.getCalendarEntries().then((entry) => {})
});