From d37d400761ef47cac90dfa1c87ed067e32ee6b64 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 24 Dec 2013 17:04:49 +0100 Subject: add get_stop_by_name to documentation --- lib/Travel/Status/DE/URA.pm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/Travel/Status/DE/URA.pm') diff --git a/lib/Travel/Status/DE/URA.pm b/lib/Travel/Status/DE/URA.pm index 99c0132..dd199a6 100644 --- a/lib/Travel/Status/DE/URA.pm +++ b/lib/Travel/Status/DE/URA.pm @@ -301,6 +301,13 @@ the server. In case of an HTTP request error, returns a string describing it. If none occured, returns undef. +=item $status->get_stop_by_name(I<$stopname>) + +Returns a list of stops matching I<$stopname>. For instance, if the stops +"Aachen Bushof", "Eupen Bushof", "Brand" and "Brandweiher" exist, the +parameter "bushof" will return "Aachen Bushof" and "Eupen Bushof", while +"brand" will only return "Brand". + =item $status->results(I<%opt>) Returns a list of Travel::Status::DE::URA::Result(3pm) objects, each describing -- cgit v1.2.3