{"id":16496959,"url":"https://github.com/bencevans/brutime","last_synced_at":"2025-08-13T19:46:49.214Z","repository":{"id":1640515,"uuid":"43682450","full_name":"bencevans/brutime","owner":"bencevans","description":"🗓️ Scrape timetabling info for Brunel Uni students.","archived":false,"fork":false,"pushed_at":"2021-11-05T13:39:11.000Z","size":207,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-01T09:11:11.038Z","etag":null,"topics":["brunel","brunel-university","hacktoberfest","timetable"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":"Unmaintained","scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bencevans.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-05T12:18:38.000Z","updated_at":"2024-08-27T16:35:55.000Z","dependencies_parsed_at":"2022-08-06T11:00:23.450Z","dependency_job_id":null,"html_url":"https://github.com/bencevans/brutime","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencevans%2Fbrutime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencevans%2Fbrutime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencevans%2Fbrutime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencevans%2Fbrutime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bencevans","download_url":"https://codeload.github.com/bencevans/brutime/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238574383,"owners_count":19494721,"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":["brunel","brunel-university","hacktoberfest","timetable"],"created_at":"2024-10-11T14:37:23.857Z","updated_at":"2025-02-13T00:31:06.095Z","avatar_url":"https://github.com/bencevans.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# brutime\n\nNode.js module for scraping data from [Brunel University](https://brunel.ac.uk)'s timetabling portal.\n\n## Install\n\n```sh\n$ yarn add brutime@bencevans/brutime\n\n# or\n\n$ npm install --save github:bencevans/brutime\n```\n\n## Usage\n\n### Import BruTime\n\n```js\nimport BruTime from \"brutime\";\n```\n\n### Create an Instance\n\n```js\nconst bruTime = new BruTime();\n\n// Creates an instance of puppeteer/chromium\nawait bruTime.init();\n\n// You can also pass in a puppeteer options object for example the following\n// to show the browser window and enable devtools.\nawait bruTime.init({\n  headless: false,\n  devtools: true,\n});\n```\n\n### Login\n\n- Students: Should use your Student ID and network password.\n- Staff: Should use your network username and password.\n\nBoth the student id/staff login and password should be strings.\n\n```js\ntry {\n  await bruTime.login(studentId, password);\n} catch (err) {\n  console.error(err);\n}\n```\n\n### Course Timetable\n\n#### Get Course Timetable Options\n\n    TODO: Look in example.js in the meantime.\n\n#### Get Course Timetable\n\n    TODO: Look in example.js in the meantime.\n\n## Testing\n\n```sh\n$  export BRUNEL_ID=YOUR_STUDENT_ID\n$  export BRUNEL_PASSWORD=YOUR_STUDENT_PASSWORD\n$ npm test\n```\n\n## Related\n\n- [bencevans/parse-weeks](https://github.com/bencevans/parse-weeks) - Parse a comma separated list of ranges and numbers into an array of all numbers covered.\n- [bencevans/brucal](https://github.com/bencevans/brucal) - (deprecated) - iCal Web Service for Brunel Timetables. Automatically add your Brunel timetable to Google Calendar, GNOME Calendar or any other calendar application providing support for Web iCal.\n- ... [Add Your Project](https://github.com/bencevans/brutime/edit/main/README.md)\n\n## Licence\n\nMIT © [Ben Evans](http://bensbit.co.uk)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbencevans%2Fbrutime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbencevans%2Fbrutime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbencevans%2Fbrutime/lists"}