Skip to content

sidorares/node-ptv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-ptv

Unofficial node.js client for Public Transport Victoria API

  var ptv = require('ptv');

  var pt = ptv.createClient({devId: 12345, key: 'foobar'});
  pt.stoppingPattern(ptv.mode.train, 4780, 1104, null, function(err, pattern) {
    //
  });

To get api devId / key please email APIKeyRequest@ptv.vic.gov.au with subject "PTV Timetable API - request for key"

See also

License

MIT

About

Public Transport Victoria API client for node.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published