Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/norbiros/mobidzienniksdk

TypeScript web scraping SDK for Polish e-gradebook MobiDziennik.
https://github.com/norbiros/mobidzienniksdk

mobidziennik sdk typescript

Last synced: 2 months ago
JSON representation

TypeScript web scraping SDK for Polish e-gradebook MobiDziennik.

Awesome Lists containing this project

README

        

# Mobidziennik SDK
[![npm](https://img.shields.io/npm/v/mobidziennik-sdk.svg?style=for-the-badge)](https://www.npmjs.com/package/mobidziennik-api)
[![License](https://img.shields.io/badge/license-gpl-green.svg?style=for-the-badge)](https://opensource.org/license/gpl-3-0/)

TypeScript web scraping SDK for Polish e-gradebook [MobiDziennik](https://www.mobidziennik.pl/).

> [!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
```js
var MobidziennikSDK = require("./index").MobidziennikSDK;

const client = new MobidziennikSDK('');
client.authorize('', '').then((el) => {
// Messages
mobi.messages.getMessages().then((messages) => {})
mobi.messages.getMessage('').then((el) => {});

// Library
mobi.library.getBooks().then((books) => {})

// Calendar
mobi.calendar.getCalendarEntries().then((entry) => {})
});
```