🦀 ClawHub
Table Mountain Status
by @zopyx
Fetch and report the Table Mountain Aerial Cableway status via the official weather API. Use when Master asks for “Tafelberg” updates, needs alerts about openings/closures, or wants automated Telegram reports about status, weather, and waiting times.
💡 Examples
1. Manuell abrufen
python3 skills/table-mountain-status/scripts/fetch_status.py \
--output data/table-mountain/$(date +%F_%H%M).txt
Ausgabe erscheint sowohl in der Datei als auch im Terminal.2. JSON für Weiterverarbeitung
python3 skills/table-mountain-status/scripts/fetch_status.py \
--format json --output data/table-mountain/$(date +%F).json
3. Felder (bereits im Script enthalten): statusType, status, temperature, visibility, wind, firstUp, lastUp, lastDown, waitingTimeBottom, waitingTimeTop, lastUpdated.
📋 Tips & Best Practices
lastUpdated wird auf UTC+2 konvertiert (Cape Town). Bei Bedarf format_summary im Script anpassen.curl-Proxy nötig, urllib ggf. um Environment-Proxy erweitern.TERMINAL
clawhub install table-mountain-status