Keep your API key handy. Every prompt in this section includes a URL with
YOUR_API_KEY — replace it with your actual subscription key each time. If you are using Wispr Flow, speak the description part naturally, then paste the API URL with your key into the prompt.Start Gemini CLI
Open your terminal and start Gemini CLI. This is the only raw command you need to type:Copy this command
Check for delays on your route
This is your first real commute query. Say or type this prompt:Say this or copy this prompt
Route 70 — Status: Minor delays
- 2 trips are running 3–5 minutes behind schedule
- No cancellations
- Overall: expect a roughly normal commute, but allow an extra 5 minutes
Check service alerts
Service alerts cover everything — planned works, emergency disruptions, route changes, stop closures, and special events.Say this or copy this prompt
This is the most useful query for daily commuters because it catches things that the “delays” data might not show — like a planned detour next week or a stop closure you didn’t know about.
Morning commute briefing
This is the “wow” moment — combining all three API endpoints into one personalised briefing. Customise the details to match your actual commute.Say this or copy this prompt
Your Morning Commute Briefing Bus Route 70: Running normally — No delays or cancellations detected. Your departure from Queen Street should be on schedule. Britomart to Newmarket train: Minor disruption — There is a service alert about track maintenance between Newmarket and Remuera tonight (doesn’t affect your morning commute). Service alerts affecting you: None right now. Recommendation: Take your usual bus. Everything looks clear this morning. Have a good commute!
Compare your commute options
Can’t decide between bus and train? Just ask AI to compare them for you.Say this or copy this prompt
Where is my bus right now?
A fun, visual query using the vehicle positions feed:Say this or copy this prompt
What just happened?
- Asked — you spoke or typed a natural-language question about your commute
- Fetched — Gemini CLI used its built-in web fetch tool to call the AT API
- Interpreted — the API returned raw GTFS Realtime data (JSON with hundreds of entries); Gemini filtered it for your specific routes
- Summarised — Gemini translated the technical data into plain-English advice
Go further — try your own questions
The prompts above are just the beginning. Here are some creative questions to show how flexible natural language is:Say this or copy this prompt
Say this or copy this prompt
Say this or copy this prompt
Troubleshooting
Gemini says it can't fetch the URL
Gemini says it can't fetch the URL
Make sure the URL is on a single line with no line breaks. Check that
subscription-key=YOUR_API_KEY has your actual key with no spaces around the = sign.The data looks empty or has no trips
The data looks empty or has no trips
Auckland Transport updates the real-time feed based on active services. If you’re checking late at night or very early morning, there may be fewer (or no) active trips. Try again during commute hours (7–9 AM or 4–6 PM).
Gemini gives very long, technical output
Gemini gives very long, technical output
Add this to the end of your prompt: “Explain everything in plain English. Keep it concise — no more than 10 bullet points. I am not a developer.” This guides Gemini to simplify its response.
Gemini can't find my route
Gemini can't find my route
Auckland Transport route IDs in the API sometimes include a version suffix (e.g., “70-201” instead of just “70”). Ask Gemini: “List all route IDs in the data that contain the number 70” to find the exact ID.
Results seem outdated or wrong
Results seem outdated or wrong
The real-time feeds update frequently but reflect the current operational state. If services are running perfectly on time, the trip updates feed may have very few entries — it mainly reports deviations from schedule. This is normal — no news is good news.
My voice input has errors
My voice input has errors
Wispr Flow may occasionally mishear technical terms or proper nouns. You can review and correct the text in Gemini CLI before pressing Enter. If voice input is causing too many errors, switch to typing or pasting prompts instead.
Great work — you’ve built a real commute intelligence workflow. Head to Keep going for ideas on making this a daily habit and advanced queries.