Using videojs-ptv with ptv.vic.gov.au

JavaScript integration

Install
npm install videojs-ptv
View route names and numbers for all routes
curl \
  http://timetableapi.ptv.vic.gov.au/v3/routes
List all ticket outlets
curl \
  http://timetableapi.ptv.vic.gov.au/v3/outlets
View all disruptions for all route types
curl \
  http://timetableapi.ptv.vic.gov.au/v3/disruptions
SDK on GitHub 📄 API Docs
SDK
videojs-ptv
JavaScript
API
ptv.vic.gov.au
ptv.vic.gov.au
At a glance
Language JavaScript
Endpoints26
Base URLhttp://timetableapi.ptv.vic.gov.au