1.0.1 • Published 2 years ago

kamar-notices v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

kamar-notices

Module that grabs the notices and returns an array from a KAMAR school portal

Install

npm install kamar-notices

or use yarn

yarn add kamar-notices

Usage

const KamarNotices = require("kamar-notices");
const notices = new KamarNotices("PORTAL_URL");
notices.getNotices().then((noticeList) => {
  /*
    [
        {
            for: 'All',
            title: 'Test Notice',
            staff: 'ABC',
            content: "This is a test notice"
        }
        ...
    ]
  */
});

Checkout my notices-screen repo for a way to display it on a TV.