Build flight price monitor #1

Closed
opened 2026-03-19 07:51:12 +00:00 by otis · 0 comments
Member

Task

Build a Python-based flight price monitor in /root/.openclaw/workspace/projects/flight-monitor.

Specs

config.json (already exists with base structure):

  • Route: BER → EZE round trip, threshold €700, duration 2–4 weeks, preferred months Dec–Mar, monitor year-round
  • Design for multiple routes

Price source (no API key yet):

  • Try Kiwi/Tequila public endpoint (no key needed for basic searches)
  • Thin adapter pattern: adapters/base.py + adapters/kiwi.py
  • If free option fails, implement a clear stub that documents exactly what API key is needed

Alerting:

  • When price < threshold: openclaw send --text "✈️ Flight alert: [route] €[price] on [dates]! [link]"
  • Log all checks to monitor.log

Files to create:

  • monitor.py — main one-shot script
  • adapters/__init__.py, adapters/base.py, adapters/kiwi.py
  • requirements.txt
  • cron-install.sh — sets up daily run at 08:00 UTC
  • README.md

When done:

  • Commit everything to this repo (otis/flight-monitor on Gitea)
  • Run: openclaw system event --text "Done: flight-monitor built and pushed to Gitea" --mode now
## Task Build a Python-based flight price monitor in `/root/.openclaw/workspace/projects/flight-monitor`. ## Specs **config.json** (already exists with base structure): - Route: BER → EZE round trip, threshold €700, duration 2–4 weeks, preferred months Dec–Mar, monitor year-round - Design for multiple routes **Price source (no API key yet):** - Try Kiwi/Tequila public endpoint (no key needed for basic searches) - Thin adapter pattern: `adapters/base.py` + `adapters/kiwi.py` - If free option fails, implement a clear stub that documents exactly what API key is needed **Alerting:** - When price < threshold: `openclaw send --text "✈️ Flight alert: [route] €[price] on [dates]! [link]"` - Log all checks to `monitor.log` **Files to create:** - `monitor.py` — main one-shot script - `adapters/__init__.py`, `adapters/base.py`, `adapters/kiwi.py` - `requirements.txt` - `cron-install.sh` — sets up daily run at 08:00 UTC - `README.md` **When done:** - Commit everything to this repo (`otis/flight-monitor` on Gitea) - Run: `openclaw system event --text "Done: flight-monitor built and pushed to Gitea" --mode now`
Sign in to join this conversation.
No description provided.