mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
docs: move list of methods to docs/index.md 📝
This commit is contained in:
parent
6e61097687
commit
beb58b4bf0
2 changed files with 10 additions and 7 deletions
9
docs/index.md
Normal file
9
docs/index.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# API documentation
|
||||
|
||||
- [`journeys(from, to, [opt])`](journeys.md) – get journeys between locations
|
||||
- [`journeyLeg(ref, lineName, [opt])`](journey-leg.md) – get details for a leg of a journey
|
||||
- [`departures(station, [opt])`](departures.md) – query the next departures at a station
|
||||
- [`locations(query, [opt])`](locations.md) – find stations, POIs and addresses
|
||||
- [`location(id)`](location.md) – get details about a location
|
||||
- [`nearby(location, [opt])`](nearby.md) – show stations & POIs around
|
||||
- [`radar(north, west, south, east, [opt])`](radar.md) – find all vehicles currently in a certain area
|
|
@ -32,13 +32,7 @@ npm install hafas-client
|
|||
|
||||
## API
|
||||
|
||||
- [`journeys(from, to, [opt])`](docs/journeys.md) – get journeys between locations
|
||||
- [`journeyLeg(ref, lineName, [opt])`](docs/journey-leg.md) – get details for a leg of a journey
|
||||
- [`departures(station, [opt])`](docs/departures.md) – query the next departures at a station
|
||||
- [`locations(query, [opt])`](docs/locations.md) – find stations, POIs and addresses
|
||||
- [`location(id)`](docs/location.md) – get details about a location
|
||||
- [`nearby(location, [opt])`](docs/nearby.md) – show stations & POIs around
|
||||
- [`radar(north, west, south, east, [opt])`](docs/radar.md) – find all vehicles currently in a certain area
|
||||
[API documentation](docs/index.md)
|
||||
|
||||
|
||||
## Usage
|
||||
|
|
Loading…
Add table
Reference in a new issue