Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 409 Bytes

README.md

File metadata and controls

25 lines (22 loc) · 409 Bytes

transit-query

cargo run

e.g. get crowding information on every vehicle and their lat/long

{
  Vehicle {
    lead_car: label @output
    latitude @output
    longitude @output

    trip_descriptor {
      route {
        route: long_name @output
      }
    }

    multi_carriage_details {
      label @output
      occupancy_percentage @output
      occupancy_status @output
    }
  }
}