vulcan-scraper
TypeScript icon, indicating that this package has built-in type declarations

1.5.0 • Public • Published

vulcan-scraper

npm npm

Small library to scrape Vulcan e-register

Documentation/Usage

Basic documentation is available in this repo's wiki.

Example

import { VulcanHandler } from "vulcan-scraper";

const vulcanHandler = new VulcanHandler("student@school.com", "P@ssw0rd", "city");

await vulcanHandler.login();

console.log(await vulcanHandler.getStudentGrades());

await vulcanHandler.logout();

Output:

{
  'Język polski': { average: 2, grades: [ [Object] ] },
  'Język angielski': { average: 0, grades: [] },
  'Tworzenie stron i aplikacji internetowych': { average: 5.5, grades: [ [Object] ] },
  'Systemy baz danych': { average: 0, grades: [] },
  'Projektowanie baz danych': { average: 4.5, grades: [ [Object], [Object] ] }
}

Limitations

  • Currently this library only supports standard login type

Package Sidebar

Install

npm i vulcan-scraper

Weekly Downloads

3

Version

1.5.0

License

MIT

Unpacked Size

53.3 kB

Total Files

29

Last publish

Collaborators

  • kabuspl