diff --git a/docs/index.md b/docs/index.md index 1581212..5fd7822 100644 --- a/docs/index.md +++ b/docs/index.md @@ -94,12 +94,18 @@ Output from [`require('db-hafas').journeys(…)`](https://github.com/derhuerst/d - `from`: **Required.** Station ID (e.g. `008011162`). - `to`: **Required.** Station ID (e.g. `008011162`). -## POI/address format +## POI format - `from.latitude`/`to.latitude`: **Required.** Latitude (e.g. `52.543333`). - `from.longitude`/`to.longitude`: **Required.** Longitude (e.g. `13.351686`). - `from.name`/`to.name`: Name of the locality (e.g. `Atze Musiktheater`). -- `from.id`/`to.id`: POI ID (e.g. `991598902`). +- `from.id`/`to.id`: **Required.** POI ID (e.g. `991598902`). + +## address format + +- `from.latitude`/`to.latitude`: **Required.** Latitude (e.g. `52.543333`). +- `from.longitude`/`to.longitude`: **Required.** Longitude (e.g. `13.351686`). +- `from.address`/`to.address`: **Required.** Address (e.g. `Voltastr. 17`). ## other parameters