diff --git a/docs/readme.md b/docs/readme.md index b57d6ea5..a10760c0 100644 --- a/docs/readme.md +++ b/docs/readme.md @@ -127,6 +127,10 @@ const client = createClient({ The default `profile.logRequest` [`console.error`](https://nodejs.org/docs/latest-v10.x/api/console.html#console_console_error_data_args)s the request body, if you have set `$DEBUG` to `hafas-client`. Likewise, `profile.logResponse` `console.error`s the response body. +## Using `hafas-client` from another language + +If you want to use `hafas-client` to access HAFAS APIs but work with non-Node.js environments, you can use [`hafas-client-rpc`](https://github.com/derhuerst/hafas-client-rpc) to create a [JSON-RPC](https://www.jsonrpc.org) interface that you can send commands to. + ## Writing a profile Check [the guide](writing-a-profile.md). diff --git a/readme.md b/readme.md index 380c53aa..cec31d7f 100644 --- a/readme.md +++ b/readme.md @@ -228,6 +228,8 @@ There are [community-maintained TypeScript typings](https://www.npmjs.com/packag - [`pyhafas`](https://github.com/n0emis/pyhafas) – Python equivalent to `hafas-client`, with support for more types of public transport APIs. - [`hafas-rs`](https://cyberchaos.dev/yuka/hafas-rs/) – Rust equivalent to `hafas-client`. - [`fshafas`](https://github.com/bergmannjg/fshafas) – F# port of `hafas-client`. +- [`hafas-client-php`](https://github.com/MrKrisKrisu/hafas-client-php) – PHP port of `hafas-client`. +- [*Transit*](https://jlnstrk.github.io/transit/) – Kotlin client for mutliple kinds of public transport APIs, with support for HAFAS APIs. - [*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. - [`observe-hafas-client`](https://github.com/public-transport/observe-hafas-client) – Observe all departures/arrivals/etc. returned by `hafas-client`. - [`cached-hafas-client`](https://github.com/public-transport/cached-hafas-client) – Pass in a `hafas-client` instance, cache data from it.