gtfs_rt_nyct

GTFS Realtime bindings, tailored to MTA NYCT. This library provides types for working with the feed, as well as decoders for the protobuf binary format it is provided in.

The types provided aim to be rather low-level, not abstracting or processing the raw data very much, if at all. It is expected that an application will have to do it’s own processing on top of this to make use of the data.

This also does not aim to be general GTFS-RT bindings. It only includes fields currently in use by the MTA.

Package Version Hex Docs

gleam add gtfs_rt_nyct@0.2
import gtfs_rt_nyct

pub fn main() -> Nil {
  // TODO: An example of the project in use
}

Further documentation can be found at https://hexdocs.pm/gtfs_rt_nyct.

Development

gleam run   # Run the project
gleam test  # Run the tests

Disclaimer

This project is not endorsed by, directly affiliated with, maintained, authorized, or sponsored by any transit agency. All names and marks are the registered trademarks of their original owners. The use of any trade name or trademark is for identification and reference purposes only and does not imply any association with the trademark holder or their brand.

Search Document