ptvapi

module
v0.0.0-...-6ca850d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2020 License: MIT

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 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 to see examples on how to use this library.

Directories

Path Synopsis
examples
Package transport provides a custom transport that automatically calculates the request signature as required by the PTV Timetable API v3, and includes both the `devid` and `signature` query param in all requests to the API.
Package transport provides a custom transport that automatically calculates the request signature as required by the PTV Timetable API v3, and includes both the `devid` and `signature` query param in all requests to the API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL