Check Watched Course Sections
check_watched_course_sectionsChecks OBS schedule for watched sections, reporting capacity, enrollment, free seats, and status changes (opened, filled). First check sets baseline; cached data may delay updates.
Instructions
Read the public OBS schedule now for the watched sections (one request per branch, no login) and report per section: capacity, enrolled, seats free, and what changed since the previous check ('opened', 'filled', 'capacity_raised', 'delisted', ...). The first check of a section only sets a baseline. Status 'unknown' means OBS gave no usable numbers (missing values, or the enrolled column not populated yet) and is never a free seat; 'not_listed' means the CRN is absent from the schedule, which is not the same as full. Entries from a past term are reported as 'stale_term' and not compared. This is a one-shot check: the server cannot run in the background and sends no notifications, so a periodic check must be driven by the user or by a scheduled task on the client. Schedule reads are cached for a short time; when 'freshness.all_from_cache' is true the numbers were not re-read, so wait 'retry_after_seconds' instead of calling again in a loop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |