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

https://github.com/ronny/ptvapi

Go client library for PTV Timetable API v3
https://github.com/ronny/ptvapi

australia australian autogenerated go golang ptv public-transport

Last synced: 5 months ago
JSON representation

Go client library for PTV Timetable API v3

Awesome Lists containing this project

README

          

# ptvapi

This is a client library to interact with the Public Transport Victoria (PTV)
Timetable API v3.

This library is not an official library from PTV.

More information about the PTV Timetable API:
https://www.ptv.vic.gov.au/footer/data-and-reporting/datasets/ptv-timetable-api/

This library is mostly auto generated from the published swagger file:
http://timetableapi.ptv.vic.gov.au/swagger/ui/index
using the go-swagger tool:
https://github.com/go-swagger/go-swagger

See the [transport](transport) package for information on how to use a client that
automatically includes the `devid` and `signature` params as required by the
PTV Timetable API v3.

See [examples](examples) to see examples on how to use this library.

## GoDoc

![GoDoc](https://godoc.org/github.com/ronny/ptvapi/v3/client?status.svg)
* [client](http://godoc.org/github.com/ronny/ptvapi/v3/client)
* [models](http://godoc.org/github.com/ronny/ptvapi/v3/models)
* [transport](http://godoc.org/github.com/ronny/ptvapi/v3/transport)