Socket
Socket
Sign inDemoInstall

schoolsoft-scraper

Package Overview
Dependencies
59
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    schoolsoft-scraper

SchoolSoft scraper since there is no official public API yet


Version published
Weekly downloads
4
Maintainers
1
Install size
9.72 MB
Created
Weekly downloads
 

Readme

Source

schoolsoft-scraper

Attention!

This scraper is only compatible with student accounts! You cannot use staff or guardian accounts with this scraper.

Backstory

I decided to look for the SchoolSoft API to implement my own version of SchoolSoft, however I was disappointed to find out that SchoolSoft has no official public API. In the website, they said they have an API package, however there is no way to publicly access it. The only solution was to create my own scraper using puppeteer/puppeteer-core to extract information and create my own version of SchoolSoft.

Documentation

Documentation can be found in the wiki section of the GitHub repository.

Install

Install by running npm i schoolsoft-scraper or npm install schoolsoft-scraper. Please make sure your chromium executable is up to date as well.

Testing

Testing is implemented with jest, you will have to manually test to see if everything works correctly.

Testing by Yourself
  1. Create a .env file with the following environment variables:
    • SCHOOLSOFT_SCHOOL
    • SCHOOLSOFT_USERNAME
    • SCHOOLSOFT_PASSWORD
    • CHROMIUM_PATH (default is /usr/bin/chromium-browser)
  2. Run the tests by running npm test.

Issues & Pull Requests

Feel free to submit an issue or pull request for whatever reason you like: questions, bugs, fixes, feature requests, etc. You may use either English or Swedish.

Keywords

FAQs

Last updated on 01 Nov 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc