Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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