joshriang
← Back to portfolio

Coursework & finals·Python·Live

EMAS3 Calendar Fetcher

A FastAPI service that pulls assignment deadlines from the EMAS UI academic calendar export and turns them into a Google Keep checklist. The fetch layer takes the calendar export URL as a query parameter, normalises the text by stripping the Submission prefix and the is due suffix, and maps course codes to readable course names before formatting each item as an unchecked Keep entry. Sync is idempotent by note title, so re-running updates the existing note instead of producing duplicates, and there is a separate endpoint for creating a note with a collaborator directly. Credentials, the calendar key plus either a Keep master token or app password, live in environment variables and never in code. I run it on a twice-daily schedule because a deadline list is only useful if it is current.

Date
2026
Role
Sole developer
Main stack
Python
Code
github ↗
01
02
  • Idempotent sync by title is the difference between a usable integration and a note-spawning mess.
  • Normalising scraped text at the boundary keeps every downstream formatter simple.
  • Master tokens outlive app passwords for the unofficial Keep API, so they are the more stable default.
03

Scale 0–100: how much this project relied on each skill.