ptv
ptv
npm i ptv
ptv

ptv

Public Transport Victoria API client for node.js

by Andrey Sidorov

0.1.2 (see all)License:MITTypeScript:Not Found
npm i ptv
Readme

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

Downloads/wk

5

GitHub Stars

11

LAST COMMIT

8yrs ago

MAINTAINERS

1

CONTRIBUTORS

1

OPEN ISSUES

1

OPEN PRs

1
VersionTagPublished
0.1.2
latest
8yrs ago
No alternatives found
No tutorials found
Add a tutorial