{"id":22514679,"url":"https://github.com/cityssm/wsib-clearance-check","last_synced_at":"2025-08-03T16:31:11.194Z","repository":{"id":37086692,"uuid":"334249746","full_name":"cityssm/wsib-clearance-check","owner":"cityssm","description":"A tool to programmatically scrape the clearance certificate status from the WSIB Online Services website.","archived":false,"fork":false,"pushed_at":"2024-06-24T14:33:59.000Z","size":743,"stargazers_count":2,"open_issues_count":6,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-15T02:40:06.865Z","etag":null,"topics":["api","clearance-certificate-status","hacktoberfest","insurance","ontario","web-scraping","workplace","wsib"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@cityssm/wsib-clearance-check","language":"TypeScript","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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-29T19:58:55.000Z","updated_at":"2023-06-14T01:07:14.000Z","dependencies_parsed_at":"2023-12-12T18:31:48.559Z","dependency_job_id":"9af7f145-bc95-4928-9539-5e05afd64e4d","html_url":"https://github.com/cityssm/wsib-clearance-check","commit_stats":{"total_commits":69,"total_committers":4,"mean_commits":17.25,"dds":"0.18840579710144922","last_synced_commit":"2fb9e934b12965be259695a7e020d32a33d2c52f"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cityssm%2Fwsib-clearance-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cityssm%2Fwsib-clearance-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cityssm%2Fwsib-clearance-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cityssm%2Fwsib-clearance-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cityssm","download_url":"https://codeload.github.com/cityssm/wsib-clearance-check/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228553613,"owners_count":17936013,"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":["api","clearance-certificate-status","hacktoberfest","insurance","ontario","web-scraping","workplace","wsib"],"created_at":"2024-12-07T03:20:16.674Z","updated_at":"2025-08-03T16:31:11.156Z","avatar_url":"https://github.com/cityssm.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WSIB Clearance Check\n\n[![npm (scoped)](https://img.shields.io/npm/v/@cityssm/wsib-clearance-check)](https://www.npmjs.com/package/@cityssm/wsib-clearance-check)\n[![DeepSource](https://app.deepsource.com/gh/cityssm/wsib-clearance-check.svg/?label=active+issues\u0026show_trend=true\u0026token=8Wg_seH68YGf4tZKozKTme7b)](https://app.deepsource.com/gh/cityssm/wsib-clearance-check/)\n[![codecov](https://codecov.io/gh/cityssm/wsib-clearance-check/graph/badge.svg?token=ADZDRCPX33)](https://codecov.io/gh/cityssm/wsib-clearance-check)\n[![Coverage Testing](https://github.com/cityssm/wsib-clearance-check/actions/workflows/coverage.yml/badge.svg)](https://github.com/cityssm/wsib-clearance-check/actions/workflows/coverage.yml)\n\nA tool to scrape the clearance certificate status from the\n[WSIB Online Services Clearance Certificate Website](https://onlineservices.wsib.on.ca/EClearanceWeb/eclearance/start).\n\n## Installation\n\n```bash\nnpm install @cityssm/wsib-clearance-check\n```\n\n## Usage\n\n```javascript\nimport * as wsib from '@cityssm/wsib-clearance-check'\n\nconst cert = await wsib.getClearanceByAccountNumber(123)\n```\n\n## Output\n\n```javascript\n{\n  success: true,\n  accountNumber: '123',\n  contractorLegalTradeName: 'LANDSCAPING BY EVAN',\n  contractorAddress: '456 JULIA LANE, SAULT STE. MARIE, ON, P6A5X6, CA',\n  contractorNAICSCodes: [\n    {\n      code: '561730',\n      codeDescription: 'Landscaping services',\n      classKey: 'M',\n      className: 'ADMINISTRATION, SERVICES TO BUILDINGS, DWELLINGS, AND OPEN SPACES'\n    }\n  ],\n  clearanceCertificateNumber: 'A000012345',\n  validityPeriodStart: 2021-02-20T00:00:00.000Z,\n  validityPeriodEnd: 2021-05-19T00:00:00.000Z,\n  principalLegalTradeName: 'Valid for all principals',\n  principalAddress: 'Not applicable',\n  certificateURL: 'https://clearances.wsib.ca/Clearances/eclearance/GCSearchCertDet12345678'\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcityssm%2Fwsib-clearance-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcityssm%2Fwsib-clearance-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcityssm%2Fwsib-clearance-check/lists"}