{"id":22514777,"url":"https://github.com/cityssm/wsib-clearance-check-csv-cli","last_synced_at":"2026-07-02T17:06:19.297Z","repository":{"id":36958706,"uuid":"401817362","full_name":"cityssm/wsib-clearance-check-csv-cli","owner":"cityssm","description":"A command line tool to retrieve clearance certificates from the WSIB website.","archived":false,"fork":false,"pushed_at":"2023-08-28T08:51:24.000Z","size":476,"stargazers_count":1,"open_issues_count":9,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-19T13:47:01.891Z","etag":null,"topics":["clearance-certificate-status","cli","command-line-tool","csv","hacktoberfest","insurance","ontario","web-scraping","workplace","wsib"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cityssm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-31T19:15:23.000Z","updated_at":"2023-05-31T14:49:13.000Z","dependencies_parsed_at":"2025-02-02T03:26:34.945Z","dependency_job_id":"0e6eff04-09fd-49d1-ad36-40ff89002cf7","html_url":"https://github.com/cityssm/wsib-clearance-check-csv-cli","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cityssm%2Fwsib-clearance-check-csv-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cityssm%2Fwsib-clearance-check-csv-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cityssm%2Fwsib-clearance-check-csv-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cityssm%2Fwsib-clearance-check-csv-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cityssm","download_url":"https://codeload.github.com/cityssm/wsib-clearance-check-csv-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245954355,"owners_count":20699813,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clearance-certificate-status","cli","command-line-tool","csv","hacktoberfest","insurance","ontario","web-scraping","workplace","wsib"],"created_at":"2024-12-07T03:21:46.543Z","updated_at":"2026-07-02T17:06:14.273Z","avatar_url":"https://github.com/cityssm.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wsib-clearance-check-csv-cli\n\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/3fb7c647878846aa9323994115aa57a9)](https://www.codacy.com/gh/cityssm/wsib-clearance-check-csv-cli/dashboard?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=cityssm/wsib-clearance-check-csv-cli\u0026utm_campaign=Badge_Grade)\n[![Maintainability](https://api.codeclimate.com/v1/badges/4ca34e70fd4186fff0ab/maintainability)](https://codeclimate.com/github/cityssm/wsib-clearance-check-csv-cli/maintainability)\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/cityssm/wsib-clearance-check-csv-cli/test.yml)](https://github.com/cityssm/wsib-clearance-check-csv-cli/actions/workflows/test.yml)\n[![Snyk Vulnerabilities for GitHub Repo](https://img.shields.io/snyk/vulnerabilities/github/cityssm/wsib-clearance-check-csv-cli)](https://app.snyk.io/org/cityssm/project/9605d6ee-84f6-41f6-a0c4-b5daa96160ae)\n\nA command line tool to simplify retrieving clearance certificates from the WSIB website.\n\n**Looking to tie WSIB clearance certificate lookups into your own project?**\n[Check out the wsib-clearance-check project.](https://github.com/cityssm/wsib-clearance-check)\n\n## Usage\n\n```sh\nnode lookup\n     -input [inputFile.txt | inputFile.csv | inputFile.xlsx]\n     -output [outputFile.csv]\n     -error [errorFile.csv]\n     [-real]\n```\n\n### Parameters\n\n`-input [inputFile.txt | inputFile.csv | inputFile.xlsx]` or\u003cbr /\u003e\n`-i [inputFile.txt | inputFile.csv | inputFile.xlsx]`\n\n- Specifies the path to the file that should be parsed.\n\n- The file can be either\n  a [simple text file](test/input.txt) with one WSIB Account Number on each line,\n  a [CSV file](test/input.csv) with the WSIB Account Number in the first column,\n  or an [XLSX file](test/input.xlsx) with the WSIB Account Number in the first column of the first sheet.\n\n`-output [outputFile.csv]` or\n`-o [outputFile.csv]`\n\n- Specifies the name of the CSV file that should contain\n  successfully retrieved clearance certificates.\n\n- This file is only written if there are records to write.\n\n- The output file includes the following fields.\n  [See a sample output file.](test/output.csv)\n\n  - accountNumber\n  - contractorLegalTradeName\n  - contractorAddress\n  - clearanceCertificateNumber\n  - validityPeriodStart\n  - validityPeriodEnd\n  - principalLegalTradeName\n  - principalAddress\n  - certificateURL\n\n`-error [errorFile.csv]` or\n`-e [errorFile.csv]`\n\n- Specifies the name of the CSV file that should contain error messages.\n\n- This file is only written if there are errors to write.\n\n- The error file includes the following fields.\n  [See a sample error file.](test/error.csv)\n\n  - accountNumber\n  - error\n  - errorURL\n\n`-real` or\n`-r`\n\n- Runs in \"real browser\" mode, as opposed to \"headless browser\" mode.\n\n- Useful for debugging, but not recommended for production use.\n\n## Setup\n\nEnsure system has [NodeJS](https://nodejs.org/) 14 or better installed.\n\nDownload the latest code from this repository. This can be done from this website,\nfrom a `git` command line, or using [GitHub Desktop](https://desktop.github.com/).\nSave to the folder of your choice.\n\nInstall the dependencies.\n\n```sh\nnpm install\n```\n\nSee if it works.\n\n```sh\nnpm test\n```\n\n## 🙏 Thanks\n\nThis project was developed in collaboration with [FRANCOachat](https://ceafrancoachat.ca/),\nan organization that provides procurement services to several Ontario school boards.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcityssm%2Fwsib-clearance-check-csv-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcityssm%2Fwsib-clearance-check-csv-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcityssm%2Fwsib-clearance-check-csv-cli/lists"}