Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sidorares/node-ptv
Public Transport Victoria API client for node.js
https://github.com/sidorares/node-ptv
Last synced: 21 days ago
JSON representation
Public Transport Victoria API client for node.js
- Host: GitHub
- URL: https://github.com/sidorares/node-ptv
- Owner: sidorares
- License: mit
- Created: 2014-07-07T05:41:19.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-01T05:49:15.000Z (over 7 years ago)
- Last Synced: 2024-09-17T03:29:53.665Z (about 2 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 12
- Watchers: 5
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
node-ptv
========Unofficial node.js client for Public Transport Victoria API
```js
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 [email protected] with
subject "PTV Timetable API - request for key"## See also
- [Unofficial api documentation](http://stevage.github.io/PTV-API-doc/)
- [python client](https://github.com/stevage/ptvpy)
- [php client]( https://github.com/wongm/ptv-api-php-test-harness)## License
MIT