跳到正文
TakoAPI
返回技能列表

linz-public-transport

由 fjrevoredo 提供

Browser & Automation
467下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Query Linz Linien raw EFA endpoints for stop lookup and live departures.

描述

该技能的功能

Queries Linz Linien EFA endpoints to look up stops by name and fetch live departure times. Uses a Python script against the official Linz AG API with no external dependencies beyond the standard library.

Queries the official Linz Linien EFA API directly instead of relying on third-party transit apps or scrapers, giving access to raw departure data programmably.

何时使用

  • Check next tram departures from a Linz stop before leaving home
  • Resolve a stop name to its numeric stop ID for automation
  • Fetch departures for a specific stop ID in a script or workflow
  • Find stops matching a partial name or street
  • Monitor upcoming buses from a stop during a commute

示例工作流

输入

User asks: What are the next departures from Taubenmarkt?

智能体
  1. 1

    Resolve the API base URL from argument, env var, or default

  2. 2

    Run stops subcommand to find stop ID matching 'taubenmarkt'

  3. 3

    Run next subcommand with --pick-first and --limit 10 to fetch departures

  4. 4

    Sort results by countdownInMinutes ascending

  5. 5

    Return a summary showing line, direction, relative and absolute departure times

输出

List of next 10 departures from Taubenmarkt with line numbers, destinations, and minutes until departure

前置要求

  • LINZ_TRANSPORT_API_BASE_URL environment variable (optional, defaults to http://www.linzag.at/linz2)

安装

clawhub install fjrevoredo/linz-public-transport

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接