Перейти к содержимому
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 — любой кодинг-агент, которым пользуетесь.

Ссылки