From 591476cc6011210c01624214d7f57e099a48ea66 Mon Sep 17 00:00:00 2001 From: Stefan Kalscheuer Date: Mon, 21 Nov 2022 14:39:26 +0100 Subject: [PATCH] docs: correct forStops() calls in README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2b3b16f..6dea391 100644 --- a/README.md +++ b/README.md @@ -57,13 +57,13 @@ List stops = ura.forPosition(51.51009, -0.1345734, 200) ```java // Get next 10 trips for given stops and lines in a single direction (all filters optional) -List trips = ura.forStop("100000") +List trips = ura.forStops("100000") .forLines("25", "35") .forDirection(1) .getTrips(10); // Get trips from given stop towards your destination -List trips = ura.forStopByName("Piccadilly Circus") +List trips = ura.forStopsByName("Piccadilly Circus") .towards("Marble Arch") .getTrips(); ``` @@ -72,7 +72,7 @@ List trips = ura.forStopByName("Piccadilly Circus") ```java // Get next 10 trips for given stops and lines in a single direction (all filters optional) -List msgs = ura.forStop("100000") +List msgs = ura.forStops("100000") .getMessages(); ```