← 返回
AI智能 Key 中文

Trimet

Get Portland transit information including arrivals, trip planning, and alerts. Use when user asks about buses, MAX, trains, or transit in Portland.
获取波特兰公交信息,包括到站时间、行程规划和警报。当用户询问波特兰的巴士、MAX轻轨、火车或公共交通时使用。
mjrussell
AI智能 clawhub v0.1.0 1 版本 99798 Key: 需要
★ 1
Stars
📥 1,956
下载
💾 132
安装
1
版本
#latest

概述

TriMet CLI

CLI for TriMet Portland transit data. Check arrivals, plan trips, and view alerts.

Installation

npm install -g trimet-cli

Setup

  1. Get free API key from https://developer.trimet.org/
  2. Set environment variable: export TRIMET_APP_ID="your-key"

Commands

Arrivals

trimet arrivals <stop-id>              # Real-time arrivals
trimet arrivals 8383 --line 90         # Filter by route
trimet arrivals 8383 --json

Trip Planning

trimet trip -f <from> -t <to>
trimet trip -f 8383 -t 9969
trimet trip -f "Pioneer Square" -t "PDX Airport"
trimet trip -f 8383 -t 9969 --arrive-by "5:30 PM"
trimet trip -f 8383 -t 9969 --depart-at "2:00 PM"
trimet trip -f 8383 -t 9969 --json

Next Departures

trimet next -f <from> -t <to>          # Simplified view
trimet next -f 8383 -t 9969 -c 5       # Show 5 options
trimet next -f 8383 -t 9969 --line 90  # Filter by route

Service Alerts

trimet alerts                          # All alerts
trimet alerts --route 90               # Alerts for route
trimet alerts --json

Common Stop IDs

  • Pioneer Courthouse Square: 8383 (westbound), 8384 (eastbound)
  • PDX Airport: 10579
  • Portland Union Station: 7787
  • Beaverton TC: 9969

Usage Examples

User: "When's the next MAX?"

trimet arrivals 8383

User: "How do I get to the airport?"

trimet trip -f "Pioneer Square" -t "PDX Airport"

User: "I need to be downtown by 5pm"

trimet trip -f <user-location-stop> -t 8383 --arrive-by "5:00 PM"

User: "Are there any delays on the Blue Line?"

trimet alerts --route 100

User: "Next trains to Beaverton"

trimet next -f 8383 -t 9969

Route Numbers

  • MAX Blue Line: 100
  • MAX Red Line: 90
  • MAX Yellow Line: 190
  • MAX Orange Line: 290
  • MAX Green Line: 200

Notes

  • Stop IDs are displayed at TriMet stops and on trimet.org
  • Addresses work for trip planning (e.g., "Pioneer Square, Portland")
  • Times support natural formats ("5:30 PM", "17:30")

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-28 17:04 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 834 📥 212,990
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 711 📥 243,706
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,355 📥 318,021