Skip to content

Commit

Permalink
docs: correct forStops() calls in README
Browse files Browse the repository at this point in the history
backported from 591476c
  • Loading branch information
stklcode committed Nov 21, 2022
1 parent 4b69343 commit 5152c4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ List<Stop> 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<Trip> trips = ura.forStop("100000")
List<Trip> trips = ura.forStops("100000")
.forLines("25", "35")
.forDirection(1)
.getTrips(10);

// Get trips from given stop towards your destination
List<Trip> trips = ura.forStopByName("Piccadilly Circus")
List<Trip> trips = ura.forStopsByName("Piccadilly Circus")
.towards("Marble Arch")
.getTrips();
```
Expand All @@ -54,7 +54,7 @@ List<Trip> trips = ura.forStopByName("Piccadilly Circus")

```java
// Get next 10 trips for given stops and lines in a single direction (all filters optional)
List<Message> msgs = ura.forStop("100000")
List<Message> msgs = ura.forStops("100000")
.getMessages();
```

Expand Down

0 comments on commit 5152c4e

Please sign in to comment.