Skip to content

nikel-api/nikel-parser

Repository files navigation

Nikel Parser

Dataset parser for Nikel API

Since websites can often change layouts and things can break, this repo contains a hodgepodge of Python scripts that aren't intended to be robust.

Update for 3/10/2022: A lot of breaking changes were made with specific university sites. More work is required to make many scripts functional again.

Thanks

  • Heavily inspired by Cobalt API and huge thanks to their amazing work.

Setup

To install all python packages required for scraping and parsing: pip install requirements.txt

Some scripts require that you install the Selenium Chrome Driver:

  • via Official Site
  • via Chocolatey: choco install selenium-chrome-driver

Very rarely, some scripts will require university authentication. In this case, you must set the environment variables UTOR_USERNAME and UTOR_PASSWORD with valid credentials.

Folders

  • nikel-datasets: submodule containing datasets for Nikel API.
  • data_parser: contains scraper code for generating datasets. To update a dataset, run the respective python file.
  • snapshots: stores backups of JSON payloads for emergency backup purposes.
  • config: currently useless.

About

Dataset parser for Nikel API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published