Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Weekly email summarising Hoyts "Movie of the Week" sessions for the upcoming Friday — including after-work session times and booking links.
Set any of these env vars (all optional with sensible defaults):
| Env var | Default | Description |
|---|---|---|
DEST_EMAIL | (your Val Town account email) | Recipient email address |
CINEMA_ID | MCECIN (Melbourne Central) | Hoyts cinema ID |
AFTER_WORK_HOUR | 17 | Hour (24h) at/after which sessions count as "after work" |
👉 Set env vars here: https://www.val.town/x/nitemice/hoyts-mow/environment-variables
Browse the full list of cinemas and their IDs at: https://apim-aea.hoyts.com.au/cinemaapi-au-live/api/cinemas/
Common IDs:
| ID | Cinema |
|---|---|
MCECIN | Melbourne Central |
CHDSTN | Chadstone |
HIGPNT | Highpoint |
DOCCIN | The District Docklands |
EASTLN | Eastland |
VGDCIN | Victoria Gardens |
SHOWGR | Entertainment Quarter |
BROADW | Broadway |
CAROUS | Carousel |
WESCIN | Blacktown |
The interval runs every Tuesday at 22:00 UTC (Wednesday 8:00am AEST) via cron
0 22 * * 2.
- Fetches session and movie data from the Hoyts cinema API.
- Filters for Friday sessions tagged "MOW" (Movie of the Week).
- Sends an HTML + plain text email with movie details, all sessions, and after-work sessions highlighted.
- If no MOW sessions are listed yet, sends a "not yet" notification instead.