Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
project:transport_api [2012/03/31 13:12] – fresco | project:transport_api [2012/03/31 15:58] – colin | ||
---|---|---|---|
Line 9: | Line 9: | ||
=== Vision === | === Vision === | ||
- | | + | |
- | | + | **Realtime** means: an event in the system that is of immediate commercial or human interest (i.e has possible consequences). |
Line 17: | Line 17: | ||
* Initiator: @der_graf | * Initiator: @der_graf | ||
* Repo: https:// | * Repo: https:// | ||
- | * Live at: | + | * Live at: http:// |
* Opendata-PubSub is a Websocket handler written in Erlang | * Opendata-PubSub is a Websocket handler written in Erlang | ||
+ | * It lets clients subscribe to certain event classes via Javascript (websockets), | ||
+ | * It polls the Transport API for realtime events (transforming pulls into pushes) | ||
=== Extend and improve the Realtime aspects of the Transport API === | === Extend and improve the Realtime aspects of the Transport API === | ||
- | * Examples: delay, change of departing platform, capacity | + | |
+ | The Transport API is not optimal for realtime information. If there, it's encapsulated in Prognosis objects. Can we extend the API to be able to ask for things like " | ||
+ | * Initiator: @drdol | ||
+ | | ||
* By that provide a simpler interface for realtime info (extracting it out of the Prognosis object etc) | * By that provide a simpler interface for realtime info (extracting it out of the Prognosis object etc) | ||
* Write a service that lets you subscribe to those events (Opendata-PubSub) | * Write a service that lets you subscribe to those events (Opendata-PubSub) | ||
+ | |||
+ | The RealTime PubSub Engine and the Protocol Extension can be the infrastructure for automatic pushes of RealTime info to an unlimited number of clients. | ||
=== Build a Command Line Interface for the Transport Data === | === Build a Command Line Interface for the Transport Data === | ||
Line 29: | Line 36: | ||
==== Examples ==== | ==== Examples ==== | ||
- | * http:// | + | * http:// |
Line 40: | Line 47: | ||
* Fixed Timezone, JSON-Header | * Fixed Timezone, JSON-Header | ||
* Nearby station search (In progress) | * Nearby station search (In progress) | ||
+ | |||
+ | * Finish nearby search (by coordinates) | ||
+ | * Allow searching with via stations | ||
+ | * Display coordinates in correct format | ||
+ | * Connection steps (Lenzburg - Zürich HB - Zürich, Bäckeranlage) | ||
+ | * Limit parameter for connection requests | ||
+ | * Change date/time to use ISO format | ||
+ | * Basic logging: http:// | ||
+ | |||