Skip to content
A proxy API to the TransportAPI endpoints
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app/scripts
dist/scripts
.gitignore
.jshintrc
Gruntfile.js
README.md
bower.json
package.json

README.md

transportapi.js Bower version

alt tag

TransportAPI.js can be used to talk with the TAPI endpoints however...

It is in an early alpha stage of development. It is has very minimal coverage of API functionality, and the funtions/parameters will most likely change. Please discuss with us on the forum before using this library.

Download

Use in sites

  <script src="transportapi.js" type="text/javascript"></script>
  <!-- TransportAPI will be global object -->

or

  <script src="transportapi.min.js" type="text/javascript"></script>
  <!-- TransportAPI will be global object -->

Use as bower dependency

  bower install transportapi.js

and

  <script src="bower_components/dist/scripts/transportapi.min.js" type="text/javascript"></script>
  <!-- TransportAPI will be global object -->

Build from source

  • Install Node.js and its package manager 'npm'
  • Clone or fork and clone this project - for example git clone https://github.com/transportapi/transportapi.js.git
  • Go to the cloned project and run npm install to install the project dependencies.
  • Run grunt build to build the project - the build will be located in {project_folder}/dist

Examples

TODO

Something went wrong with that request. Please try again.