Skip to content

A web scraper for Strathmore's AMS student's module

License

Notifications You must be signed in to change notification settings

MarkNjunge/ams-parse

Repository files navigation

ams-parse

Build Status FOSSA Status Known Vulnerabilities

Extracts data from Strathmore's AMS student's module using Puppeteer and Cheerio.

Currently supports:

  • Attendance
  • Dashboard
  • My details
  • Fees Statement
  • Progress report

NB: Requires you to have access to the student's portal via a browser.

Installation

  1. Clone the repository and install the dependencies using yarn (or npm)
  2. Create a .env file similar to .env.sample
  • The .env file is not required if arguments are passed via the run command. See usage.
  • In development environment, alternative endpoints will need to be provided. See src/config/index.js

Usage

Run using npm start.

Alternatively, yarn start --number=<your_number> --password=<your_password>

The data will be written to the output folder.

Testing

yarn install

yarn test

License

FOSSA Status