tweak readme, changelog 📝, 5.6.1

[ci skip]
This commit is contained in:
Jannis R 2020-06-10 15:03:08 +02:00
parent a8a9303e6f
commit 7c0be5ed74
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5
3 changed files with 14 additions and 3 deletions

View file

@ -1,5 +1,14 @@
# Changelog
## `5.6.1`
- 542aa8c parse `DEVI` journey legs (#175)
- 3ca4a0c/57fc610 `arrivals()`: add `provenance` field (#180)
- ee94c65 ÖBB: improve `onCall` product name
- a8a9303 `nearby()`: return at most `opt.results` results
[🏷 `5.6.1`](https://github.com/public-transport/hafas-client/releases/tag/5.6.1), 2020-06-10
## `5.6.0`
- 07c77f8/76e3102/1abafb5/d92eb15/0251e31 parse stop/station entrances & sub-stops (#153)

View file

@ -1,7 +1,7 @@
{
"name": "hafas-client",
"description": "Client for HAFAS public transport APIs.",
"version": "5.6.0",
"version": "5.6.1",
"main": "index.js",
"files": [
"index.js",
@ -18,7 +18,7 @@
"Julius Tens <mail@juliustens.eu>",
"n0emis <n0emis@noemis.me>"
],
"homepage": "https://github.com/public-transport/hafas-client/tree/5.6.0",
"homepage": "https://github.com/public-transport/hafas-client/tree/5.6.1",
"repository": "public-transport/hafas-client",
"bugs": "https://github.com/public-transport/hafas-client/issues",
"funding": "https://github.com/sponsors/derhuerst",

View file

@ -33,7 +33,7 @@ npm install hafas-client
## Usage
The main entry point of this library is a function `createClient(profile, userAgent)`. Pass in a [profile](p) and an expressive name for your program.
Pick the [profile](p) for a HAFAS endpoint that covers the area you want to get data for. Pass the profile and an expressive name for your program into the `createClient` entry point of this library:
```js
const createClient = require('hafas-client')
@ -237,6 +237,8 @@ HAFAS endpoint | library
## Related
- [`*.transport.rest`](https://transport.rest/)  Public APIs wrapping some HAFAS endpoints.
- [`BahnhofsAbfahrten`](https://github.com/marudor/BahnhofsAbfahrten) a.k.a. [`marudor.de`](https://marudor.de/)  A very detailed public transport website for Germany. Uses HAFAS underneath, [has an API](https://docs.marudor.de).
- [`public-transport-enabler`](https://github.com/schildbach/public-transport-enabler) Unleash public transport data in your Java project.
- [`TripKit`](https://github.com/alexander-albers/tripkit) Swift library for querying data from public transport providers.
- [*Friendly Public Transport Format*](https://github.com/public-transport/friendly-public-transport-format#friendly-public-transport-format-fptf) A format for APIs, libraries and datasets containing and working with public transport data.