From e79b3f6852fbb929fbce3635f54eb1a74ee75b2b Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Mon, 19 Aug 2024 19:35:42 +0200 Subject: HAFAS(3pm): get_service: Document coverage and homepage keys --- lib/Travel/Status/DE/HAFAS.pm | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'lib/Travel/Status/DE') diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm index 3190bac..0a4d0e4 100644 --- a/lib/Travel/Status/DE/HAFAS.pm +++ b/lib/Travel/Status/DE/HAFAS.pm @@ -1124,18 +1124,29 @@ nothing otherwise. The hashref contains the following keys. =over -=item B => I +=item B => I -service name, e.g. Bay Area Rapid Transit or Deutsche Bahn. +Area in which the service provides near-optimal coverage. Typically, this means +a (nearly) complete list of departures and real-time data. The hashref contains +two optional keys: B (GeoJSON) and B (list of strings, e.g. "DE" +or "CH-BE"). -=item B => I +=item B => I -HAFAS backend URL +Homepage URL of the service provider. =item B => I Languages supported by the backend; see the constructor's B argument. +=item B => I + +Service name, e.g. Bay Area Rapid Transit or Deutsche Bahn. + +=item B => I + +HAFAS backend URL + =item B => I MOT bits supported by the backend. I contains either strings -- cgit v1.2.3