TransportNSW
Python lib to access Transport NSW information.
Functional changes
- Multiple journeys can be returned if required, via new parameter
journeys_to_return
which takes an integer. The API typically only returns 6 journeys, so bear that in mind - Rather than a curated JSON string, you can now just return the raw Transport NSW API data using new parameter
raw_output = True
Breaking changes
- The curated JSON string format has changed. To support the option to return multiple journeys, the output is always now a JSON array, preceded by
journeys_to_return
andjourneys_with_data
information - Some parameter names have been revised to better align with Transport NSW's API naming conventions