project:transport_api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
project:transport_api [2012/03/31 14:52] frescoproject:transport_api [2018/11/14 06:06] (current) – [Examples] alicesmith
Line 1: Line 1:
-{{:transport:transport.png?600}}+====== Transport API ======
  
-===== Transport API =====+{{:transport:transport.png?600}}
  
   * Documentation: [[http://transport.opendata.ch/|transport.opendata.ch]]   * Documentation: [[http://transport.opendata.ch/|transport.opendata.ch]]
Line 17: Line 17:
   * Initiator: @der_graf   * Initiator: @der_graf
   * Repo: https://github.com/dergraf/Opendata-PubSub   * Repo: https://github.com/dergraf/Opendata-PubSub
-  * Live at: http://transport-ws.publ.io+  * Live at: http://transport-ws.publ.io/static/index.html
   * 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), and pushes updates if these events occur
 +  * 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 ===
 +  
 +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 "delay" directly?
 +  * Initiator: @drdol
   * Examples: delay, change of departing platform   * Examples: delay, change of departing platform
   * 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)
Line 28: Line 33:
  
 === Build a Command Line Interface for the Transport Data === === Build a Command Line Interface for the Transport Data ===
 +
 +See [[project:fahrplan.py]]
  
 ==== Examples ==== ==== Examples ====
  
-  * http://rollstuhlkarte.ch/beta.html+  * [[http://www.rollstuhlkarte.ch/?zoom=15&lat=47.37&lon=8.54&layers=B0000FFFFFFFTFFFT|http://rollstuhlkarte.ch/]] 
 +  
  
  
Line 43: Line 51:
   * 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://transport.opendata.ch/stats.php
 +
 +{{tag>status:live transport}}
  • project/transport_api.1333198346.txt.gz
  • Last modified: 2012/03/31 00:00
  • (external edit)