İçeriğe geç
TakoAPI
Becerilere dön

bvg-route

jaysonsantos tarafından

Transportation
1.8kİndirme sayıları clawskills.sh tarafından bildirilir
1Yıldızlar
0Görüntülenmeler
0 beğeniBu beceriyi beğenmek için giriş yapın
—Henüz değerlendirilmedi
Puanınız

Özet

Route planning for Berlin public transport (BVG)

Açıklama

Bu Beceri Ne Yapar

Provides public transport directions in Berlin using the v6.bvg.transport.rest API. Handles route planning between stops or addresses, next-departure lookups, and arrive-by or depart-at journey queries. Returns ranked options with step-by-step instructions and real-time refresh tokens.

Uses BVG's official REST API directly, so results reflect real-time schedules and live delays rather than static timetable data.

Ne Zaman Kullanılır

  • Getting from a Berlin address to a specific U-Bahn station
  • Checking next departures from a nearby stop
  • Planning a journey that arrives by a set time
  • Comparing route options by transfers vs walking time
  • Getting live delay updates for an in-progress trip

Örnek İş Akışı

GİRİŞ

User asks: How do I get from Invalidenstraße 43 to Leibnizstraße 62 by public transport?

AJAN
  1. 1

    Calls GET /locations to resolve both addresses into stop IDs or address objects

  2. 2

    Extracts base IBNR codes from stop results

  3. 3

    Calls GET /journeys with from, to, and results=3, stopovers=true

  4. 4

    Ranks top 2-3 options by travel time, transfers, and walking distance

  5. 5

    Returns step-by-step directions with departure times, line names, platforms, and estimated arrival

ÇIKIŞ

Three journey options listed with total time, transfer count, and walking time; the fastest option shown with full step-by-step instructions and a refreshToken for live updates

Kurulum

clawhub install jaysonsantos/bvg-route

CLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.

Bağlantılar