sswong / lta-java-sample

java sample for invoking LTA API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Singapore LTA Bus API Client

This is example of a java client tool to access Singapore LTA Bus API.

Total 7 API calls available for bus related

To run this client

  1. you will need to apply API access via http://www.mytransport.sg/content/mytransport/home/dataMall.html
  2. generate API key
  3. update API Key in com.saiseng.ltabusapi.util.Config.java (sample config in Config.java-sample)
  4. invoke com.saiseng.ltabusapi.tool.RetrievalTool

TODO

  • ant/maven script
  • log4j logging
  • proper API key management

About

java sample for invoking LTA API

License:MIT License


Languages

Language:Java 100.0%