{"id":28227763,"url":"https://github.com/lates-codrin/schedulemonitor","last_synced_at":"2026-04-27T16:31:15.231Z","repository":{"id":287227842,"uuid":"952959317","full_name":"lates-codrin/ScheduleMonitor","owner":"lates-codrin","description":"An API that keeps track of a html table, notifying you if it is changed within a timeframe.","archived":false,"fork":false,"pushed_at":"2025-08-02T10:16:43.000Z","size":41,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-02T12:29:13.007Z","etag":null,"topics":["fastapi","python","scraper-api"],"latest_commit_sha":null,"homepage":"https://schedule-monitor.vercel.app","language":"Python","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/lates-codrin.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,"zenodo":null}},"created_at":"2025-03-22T08:39:07.000Z","updated_at":"2025-08-02T10:16:46.000Z","dependencies_parsed_at":"2025-08-02T12:08:50.883Z","dependency_job_id":"c0b69b9d-aa76-41a8-b682-46d680fd3968","html_url":"https://github.com/lates-codrin/ScheduleMonitor","commit_stats":null,"previous_names":["lates-codrin/schedulemonitor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lates-codrin/ScheduleMonitor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lates-codrin%2FScheduleMonitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lates-codrin%2FScheduleMonitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lates-codrin%2FScheduleMonitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lates-codrin%2FScheduleMonitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lates-codrin","download_url":"https://codeload.github.com/lates-codrin/ScheduleMonitor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lates-codrin%2FScheduleMonitor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32345802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["fastapi","python","scraper-api"],"created_at":"2025-05-18T13:16:26.084Z","updated_at":"2026-04-27T16:31:15.225Z","avatar_url":"https://github.com/lates-codrin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📅 Schedule Monitor API\n\nA FastAPI-based service that scrapes academic timetable data from HTML pages and exposes it via a simple RESTful API. This project fetches group schedules, tracks updates, and provides access to campus news and room info from [webfmi.vercel.app](https://webfmi.vercel.app/).\n\n---\n\n## 🚀 Features\n\n- ✅ Scrapes and parses HTML tables into structured JSON\n- 🔄 Automatically detects and reports timetable changes\n- 📬 Fetches announcements/news\n- 🏫 Maps room names to their locations\n- 🧪 Fully interactive OpenAPI docs (Swagger UI)\n\n---\n\n## 📚 API Documentation\n\n### 🧪 Swagger UI\nVisit the interactive docs at:\nhttp://localhost:8000/orar/docs || https://schedulemonitor.onrender.com/orar/docs\n\n\n---\n\n## 📦 Endpoints Overview\n\n| Method | Path                | Description                          |\n|--------|---------------------|--------------------------------------|\n| `GET`  | `/`                 | Welcome message                      |\n| `GET`  | `/rescan`           | Rescan all pages and update groups   |\n| `GET`  | `/orar/{grupa}`     | Get timetable data for a group       |\n| `GET`  | `/news`             | Get latest news/announcements        |\n| `GET`  | `/rooms`            | Get room names and their locations   |\n\n---\n\n## 🛠️ Tech Stack\n\n- [FastAPI](https://fastapi.tiangolo.com/) - Web framework\n- [BeautifulSoup](https://www.crummy.com/software/BeautifulSoup/) - HTML parsing\n- [Pandas](https://pandas.pydata.org/) - Tabular data handling\n- [Uvicorn](https://www.uvicorn.org/) - ASGI server\n\n---\n\n## 📥 Installation\n\n```bash\n# Clone the repo\ngit clone https://github.com/lates-codrin/ScheduleMonitor.git\ncd schedule-monitor-api\n\n# Create a virtual environment and activate it\npython -m venv venv\nsource venv/bin/activate  # On Windows: venv\\Scripts\\activate\n\n# Install dependencies\npip install -r requirements.txt\n\n```\n\n## 🧪 Run the App\n```bash\nuvicorn main:app --reload\n```\nThen open: http://localhost:8000/orar/docs\n\n---\n🤝 Contributing\nPull requests are welcome! For major changes, please open an issue first to discuss what you’d like to change.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flates-codrin%2Fschedulemonitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flates-codrin%2Fschedulemonitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flates-codrin%2Fschedulemonitor/lists"}