{"id":38046465,"url":"https://github.com/kshvmdn/uoft-coursefinder","last_synced_at":"2026-01-16T19:58:45.039Z","repository":{"id":57209924,"uuid":"67365690","full_name":"kshvmdn/uoft-coursefinder","owner":"kshvmdn","description":"A Node.js library for interfacing with Course Finder.","archived":false,"fork":false,"pushed_at":"2016-09-12T01:42:10.000Z","size":18,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-26T10:34:42.838Z","etag":null,"topics":[],"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/kshvmdn.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}},"created_at":"2016-09-04T20:03:44.000Z","updated_at":"2019-07-27T16:10:48.000Z","dependencies_parsed_at":"2022-08-29T11:50:33.325Z","dependency_job_id":null,"html_url":"https://github.com/kshvmdn/uoft-coursefinder","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/kshvmdn/uoft-coursefinder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshvmdn%2Fuoft-coursefinder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshvmdn%2Fuoft-coursefinder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshvmdn%2Fuoft-coursefinder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshvmdn%2Fuoft-coursefinder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kshvmdn","download_url":"https://codeload.github.com/kshvmdn/uoft-coursefinder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshvmdn%2Fuoft-coursefinder/sbom","scorecard":{"id":571385,"data":{"date":"2025-08-11","repo":{"name":"github.com/kshvmdn/uoft-coursefinder","commit":"3cc5023176f133acbd9ba68b43b8a32ce2ca8986"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/20 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-20T16:26:46.062Z","repository_id":57209924,"created_at":"2025-08-20T16:26:46.062Z","updated_at":"2025-08-20T16:26:46.062Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28482185,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-01-16T19:58:44.969Z","updated_at":"2026-01-16T19:58:45.025Z","avatar_url":"https://github.com/kshvmdn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## coursefinder [![npm version](https://badge.fury.io/js/coursefinder.svg)](https://badge.fury.io/js/coursefinder) [![Build Status](https://travis-ci.org/kshvmdn/uoft-coursefinder.svg?branch=master)](https://travis-ci.org/kshvmdn/uoft-coursefinder)\n\nA Node.js library for interfacing with [Course Finder](http://coursefinder.utoronto.ca).\n\n### Install\n\nEither install via [npm](https://www.npmjs.com/package/coursefinder) or via [source](https://github.com/kshvmdn/uoft-coursefinder/archive/master.zip).\n\n- npm\n\n  ```sh\n  npm install [--save] [--global] coursefinder\n  ```\n\n- Source\n\n  ```sh\n  git clone https://github.com/kshvmdn/uoft-coursefinder.git \u0026\u0026 npm install\n  ```\n\n### Usage\n\n#### API\n\n```js\nconst coursefinder = require('coursefinder')\n```\n\n##### `search(term, cb)`\n\n- Retrieve top 20 results (PR for implemeting pagination would be very appreciated!) for the provided search term.\n- Supports both Promises and error-first callbacks, use whichever you prefer.\n\n  ```js\n  coursefinder.search('csc207', (err, res) =\u003e {\n    if (err) {\n      console.error(err)\n      return\n    }\n\n    console.log(res)\n  })\n  ```\n\n  ```js\n  let request = coursefinder.search('csc207')\n\n  request.then(res =\u003e console.log(res))\n  request.catch(err =\u003e console.err(err))\n  ```\n\n- Sample response:\n\n  ```json\n  [\n    {\n      \"campus\": \"St. George\",\n      \"code\": \"CSC207H1\",\n      \"course_name\": \"Software Design\",\n      \"credits\": \"0.5\",\n      \"department\": \"Computer Science\",\n      \"division\": \"Faculty of Arts and Science\",\n      \"term\": \"2016 Fall\"\n    },\n    {\n      \"campus\": \"St. George\",\n      \"code\": \"CSC207H1\",\n      \"course_name\": \"Software Design\",\n      \"credits\": \"0.5\",\n      \"department\": \"Computer Science\",\n      \"division\": \"Faculty of Arts and Science\",\n      \"term\": \"2017 Winter\"\n    },\n    {\n      \"campus\": \"Mississauga\",\n      \"code\": \"CSC207H5\",\n      \"course_name\": \"Software Design\",\n      \"credits\": \"0.5\",\n      \"department\": \"Mathematical and Computational Sciences\",\n      \"division\": \"University of Toronto Mississauga\",\n      \"term\": \"2016 Fall\"\n    }\n  ]\n  ```\n\n##### `inquiry(code, cb)`\n\n- Retrieve data for the provided course code.\n- Parameter `code` can be retrieved from the [`course-search/search/courseInquiry`](http://coursefinder.utoronto.ca/course-search/search/courseInquiry?methodToCall=start\u0026viewId=CourseDetails-InquiryView\u0026courseId=CSC207H1F20169).\n- Supports both Promises and error-first callbacks, use whichever you prefer.\n\n  ```js\n  coursefinder.inquiry('CSC207H1F20169', (err, res) =\u003e {\n    if (err) {\n      console.error(err)\n      return\n    }\n\n    console.log(res)\n  })\n  ```\n\n  ```js\n  let request = coursefinder.inquiry('CSC207H1F20169')\n\n  request.then(res =\u003e console.log(res))\n  request.catch(err =\u003e console.err(err))\n  ```\n\n- Sample response:\n\n  ```json\n  {\n    \"arts_and_science_breadth\": \"(5) The Physical and Mathematical Universes\",\n    \"arts_and_science_distribution\": \"Science\",\n    \"campus\": \"St. George\",\n    \"course_description\": \"An introduction to software design and development concepts, methods, and tools using a statically-typed object-oriented programming language such as Java. Topics from: version control, unit testing, refactoring, object-oriented design and development, design patterns, advanced IDE usage, regular expressions, and reflection.  Representation of \\u001aoating-point numbers and introduction to numerical computation.\",\n    \"course_level\": \"200/B\",\n    \"department\": \"Computer Science\",\n    \"division\": \"Faculty of Arts and Science\",\n    \"last_updated\": \"2016-09-04 19:15:15.0\",\n    \"meeting_sections\": [\n      {\n        \"activity\": \"Lec 0101\",\n        \"class_size\": \"117\",\n        \"current_enrolment\": \"111\",\n        \"day_and_time\": [\n          \"TUESDAY 10:00-11:00\",\n          \"WEDNESDAY 10:00-11:00\",\n          \"FRIDAY 10:00-11:00\"\n        ],\n        \"delivery_mode\": \"IN-CLASS\",\n        \"instructor\": \"L Shorser\",\n        \"location\": [\n          \"BA 1170\",\n          \"BA 1170\",\n          \"BA 1170\"\n        ],\n        \"option_to_waitlist\": true\n      },\n      {\n        \"activity\": \"Lec 0201\",\n        \"class_size\": \"130\",\n        \"current_enrolment\": \"130\",\n        \"day_and_time\": [\n          \"WEDNESDAY 12:00-13:00\",\n          \"TUESDAY 14:00-15:00\",\n          \"FRIDAY 12:00-13:00\"\n        ],\n        \"delivery_mode\": \"IN-CLASS\",\n        \"instructor\": \"L Shorser\",\n        \"location\": [\n          \"RW 117\",\n          \"RW 117\",\n          \"RW 117\"\n        ],\n        \"option_to_waitlist\": true\n      },\n      {\n        \"activity\": \"Lec 0301\",\n        \"class_size\": \"130\",\n        \"current_enrolment\": \"27\",\n        \"day_and_time\": [\n          \"FRIDAY 13:00-14:00\",\n          \"FRIDAY 14:00-16:00\"\n        ],\n        \"delivery_mode\": \"IN-CLASS\",\n        \"instructor\": \"P Gries\",\n        \"location\": [\n          \"LM 161\",\n          \"LM 161\"\n        ],\n        \"option_to_waitlist\": true\n      },\n      {\n        \"activity\": \"Lec 2000\",\n        \"class_size\": \"13\",\n        \"current_enrolment\": \"9\",\n        \"day_and_time\": [\n          \"WEDNESDAY 10:00-11:00\",\n          \"FRIDAY 10:00-11:00\",\n          \"TUESDAY 10:00-11:00\"\n        ],\n        \"delivery_mode\": \"IN-CLASS\",\n        \"instructor\": \"\",\n        \"location\": [\n          \"BA 1170\",\n          \"BA 1170\",\n          \"BA 1170\"\n        ],\n        \"option_to_waitlist\": false\n      },\n      {\n        \"activity\": \"Lec 5101\",\n        \"class_size\": \"130\",\n        \"current_enrolment\": \"37\",\n        \"day_and_time\": [\n          \"WEDNESDAY 17:00-18:00\",\n          \"WEDNESDAY 18:00-20:00\"\n        ],\n        \"delivery_mode\": \"IN-CLASS\",\n        \"instructor\": \"\",\n        \"location\": [\n          \"LM 161\",\n          \"LM 161\"\n        ],\n        \"option_to_waitlist\": true\n      }\n    ],\n    \"pre-requisites\": \"60% or higher in CSC148H1/CSC150H1\",\n    \"term\": \"2016 Fall\",\n    \"title\": \"CSC207H1: Software Design\"\n  }\n  ```\n\n### CLI\n  \n  ```sh\n  $ coursefinder --help\n  Usage:\n    coursefinder \u003cmethod\u003e \u003cargument\u003e [--pretty] [--show]\n\n  Arguments:\n    method         coursefinder method to call (one of search / inquiry) [must be first]\n    argument       term / code to use with function [must be second]\n    -h, --help     view this help dialog\n    -p, --pretty   pretty print the JSON response\n    -s, --show     render a browser window and watch the scraping in action\n\n  Examples:\n    coursefinder search csc\n    coursefinder search CSC207 --pretty\n    coursefinder inquiry CSC207H1F20169 --show --pretty\n  ```\n\n  - Examples:\n    \n    ```sh\n    $ coursefinder search csc207\n    [ { campus: 'St. George',\n        code: 'CSC207H1',\n        course_name: 'Software Design',\n        credits: '0.5',\n        department: 'Computer Science',\n        division: 'Faculty of Arts and Science',\n        term: '2016 Fall' },\n        { campus: 'St. George',\n        code: 'CSC207H1',\n        course_name: 'Software Design',\n        credits: '0.5',\n        department: 'Computer Science',\n        division: 'Faculty of Arts and Science',\n        term: '2017 Winter' },\n        { campus: 'Mississauga',\n        code: 'CSC207H5',\n        course_name: 'Software Design',\n        credits: '0.5',\n        department: 'Mathematical and Computational Sciences',\n        division: 'University of Toronto Mississauga',\n        term: '2016 Fall' } ]\n    ```\n\n    ```sh\n    $ coursefinder search csc207 --pretty\n    Array [\n      Object {\n        \"campus\": \"St. George\",\n        \"code\": \"CSC207H1\",\n        \"course_name\": \"Software Design\",\n        \"credits\": \"0.5\",\n        \"department\": \"Computer Science\",\n        \"division\": \"Faculty of Arts and Science\",\n        \"term\": \"2016 Fall\"\n      },\n      Object {\n        \"campus\": \"St. George\",\n        \"code\": \"CSC207H1\",\n        \"course_name\": \"Software Design\",\n        \"credits\": \"0.5\",\n        \"department\": \"Computer Science\",\n        \"division\": \"Faculty of Arts and Science\",\n        \"term\": \"2017 Winter\"\n      },\n      Object {\n        \"campus\": \"Mississauga\",\n        \"code\": \"CSC207H5\",\n        \"course_name\": \"Software Design\",\n        \"credits\": \"0.5\",\n        \"department\": \"Mathematical and Computational Sciences\",\n        \"division\": \"University of Toronto Mississauga\",\n        \"term\": \"2016 Fall\"\n      }\n    ]\n    ```\n\n### Contribute\n\nThis project is completely open source. Feel free to [open an issue](https://github.com/kshvmdn/uoft-coursefinder/issues) or [submit a pull request](https://github.com/kshvmdn/uoft-coursefinder/pulls). :smile:\n\n### License\n\n[MIT](https://github.com/kshvmdn/uoft-coursefinder/blob/master/LICENSE) © [Kashav Madan](http://kshvmdn.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkshvmdn%2Fuoft-coursefinder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkshvmdn%2Fuoft-coursefinder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkshvmdn%2Fuoft-coursefinder/lists"}