{"id":19517532,"url":"https://github.com/ivkos/uiss-client","last_synced_at":"2026-04-24T12:03:07.988Z","repository":{"id":9519370,"uuid":"62385285","full_name":"ivkos/uiss-client","owner":"ivkos","description":"node.js клиент за УИСС на Технически универститет - София","archived":false,"fork":false,"pushed_at":"2022-12-09T08:04:45.000Z","size":39,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T18:07:27.972Z","etag":null,"topics":["node","node-js","node-module","parser","parser-api","scraper","technical-university","tu-sofia","uiss"],"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/ivkos.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-07-01T10:27:39.000Z","updated_at":"2019-09-23T08:42:19.000Z","dependencies_parsed_at":"2023-01-13T15:24:33.080Z","dependency_job_id":null,"html_url":"https://github.com/ivkos/uiss-client","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ivkos/uiss-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivkos%2Fuiss-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivkos%2Fuiss-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivkos%2Fuiss-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivkos%2Fuiss-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivkos","download_url":"https://codeload.github.com/ivkos/uiss-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivkos%2Fuiss-client/sbom","scorecard":{"id":498508,"data":{"date":"2025-08-11","repo":{"name":"github.com/ivkos/uiss-client","commit":"f322ea841e3fb247f351a626fd481253474ad965"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/14 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":"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":"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":"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":"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":"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":"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"}},{"name":"Vulnerabilities","score":0,"reason":"17 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-p28h-cc7q-c4fg","Warn: Project is vulnerable to: GHSA-qrmc-fj45-qfc2","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-8hfj-j24r-96c4","Warn: Project is vulnerable to: GHSA-wc69-rhjr-hc9g","Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T21:11:19.069Z","repository_id":9519370,"created_at":"2025-08-19T21:11:19.070Z","updated_at":"2025-08-19T21:11:19.070Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32222483,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T10:26:35.452Z","status":"ssl_error","status_checked_at":"2026-04-24T10:25:27.643Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["node","node-js","node-module","parser","parser-api","scraper","technical-university","tu-sofia","uiss"],"created_at":"2024-11-11T00:04:35.055Z","updated_at":"2026-04-24T12:03:07.959Z","avatar_url":"https://github.com/ivkos.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"uiss-client\n=============\n[![npm](https://img.shields.io/npm/v/uiss-client.svg)](https://www.npmjs.com/package/uiss-client)\n[![npm](https://img.shields.io/npm/dt/uiss-client.svg)](https://www.npmjs.com/package/uiss-client)\n[![npm](https://img.shields.io/npm/l/uiss-client.svg)]()\n\n## Описание\n`uiss-client` е node.js клиент за [УИСС](http://student.tu-sofia.bg) на Технически университет - София, позволяващ автоматизиране на проверката на оценки и получаване на информация за студент.\n\n## Инсталиране\n```\nnpm install uiss-client\n```\n\n## Примери\n```js\nconst UissClient = require('uiss-client');\n\nconst egn = '94xxxxyyyy';\nconst facultyId = 'xxxx13yyy';\n```\n\n```js\nUissClient\n    .login(egn, facultyId)\n    .then(session =\u003e {\n        return session.getStudent()\n            .then(student =\u003e console.log(student))\n            .then(() =\u003e session.logout());\n    })\n    .catch(err =\u003e console.error(err));\n    \n```\n\n```js\nconst moment = require(\"moment\");\n\nUissClient\n    .login(egn, facultyId)\n    .then(session =\u003e {\n        return session.getGrades()\n            .then(grades =\u003e {\n                // Филтрира само оценките, внесени на и след 30.06.2016\n                const latest = grades.filter(\n                    g =\u003e g.lastUpdate \u0026\u0026 g.lastUpdate.isSameOrAfter(moment(\"30.06.2016\", \"DD.MM.YYYY\"))\n                );\n                \n                console.log(latest);\n            })\n            .then(() =\u003e session.logout())\n            .catch(err =\u003e console.error(err));\n    });\n```\n\n## Документация на UissClient\n#### static Promise\\\u003cUissClient\\\u003e login(egn, facultyId)\nСъздава нова сесия в УИСС като се логва с подадените ЕГН (`egn`) и факултетен номер (`facultyId`). Връща `Promise\u003cUissClient\u003e` с инстанция на `UissClient` за текущата сесия.\n\n\u003e Вижте [документацията на Promise в MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) и примерите по-горе за това как се използва `Promise`.\n\n#### Promise\\\u003cStudent\\\u003e getStudent()\nИзвлича информацията за студента от текущата сесия. Връща `Promise\u003cStudent\u003e`. Обектът `Student` е с подобна на тази структура:\n```\nStudent {\n  _name: 'XXXXXXXXXXXXXX',\n  _facultyId: 'XXXXXXXX',\n  _facultyName: 'XXXXXXXXXXXXXXXXXXXXX',\n  _major: 'XXXXXXXXXXXXXX',\n  _degreeType: 'Редовно',\n  _email: 'XXXXXX@gmail.com',\n  _status: '$12Действащ',\n  _semester: 6,\n  _completedSemester: 6,\n  _stream: N,\n  _group: NN }\n```\n\n#### Promise\\\u003cGrade[]\\\u003e getGrades()\nИзвлича оценките на студента. Връща `Promise\u003cGrade[]\u003e` с масив от `Grade`. Обектът `Grade` е с подобна на тази структура:\n```\n Grade {\n    _gradeId: 44,\n    _name: 'ПРОГРАМНИ СРЕДИ',\n    _semesterId: 6,\n    _controlForm: 'Изпит',\n    _gradeText: 'мн.добър',\n    _gradeNumeric: 5,\n    _lastUpdate:\n     { ... }\n```\nПолето `lastUpdate` е от тип `Moment`.\n\n\u003e Вижте [документацията на Moment.js](http://momentjs.com/docs/) и примерите по-горе за това как се използва `Moment`.\n\n#### Promise\\\u003cCert[]\\\u003e getCerts()\nИзвлича заверките на студента. Връща `Promise\u003cCert[]\u003e` с масив от `Cert`. Обектът `Cert` има подобна на следната \nструктура:\n\n```\nCert {\n  _signatures: \n   { lectures: EmptySignature { _signeeName: 'Незаверен', _date: moment.invalid(/* NaN */) },\n     seminars: undefined,\n     labs: \n      Signature {\n        _signeeName: 'гл. ас. д-р ТАШЕВА',\n        _date: moment(\"2017-01-11T00:00:00.000\") },\n     practice: undefined,\n     project: undefined },\n  _certId: 55,\n  _subjectName: 'ПРОГРАМИРАНЕ ЗА РАЗПРЕДЕЛЕНИ СРЕДИ',\n  _semesterId: 7 }\n```\n\n#### Promise logout()\nПрекратява текущата сесия.\n\n## Лиценз\n`uiss-client` е свободен софтуер и се разпространява под [лиценза MIT](/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivkos%2Fuiss-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivkos%2Fuiss-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivkos%2Fuiss-client/lists"}