Skip to content

Conversation

@0x9ef
Copy link

@0x9ef 0x9ef commented Aug 23, 2023

This PR adds stops list which describes additional segment-specific information about the stops, if any, included in the segment.

The structure of "stops":

  "stops": [
    {
      "id": "sto_00009htYpSCXrwaB9Dn456",
      "duration": "PT02H26M",
      "departing_at": "2020-06-13T16:38:02",
      "airport": {
        "type": "airport",
        "time_zone": "Europe/London",
        "name": "Heathrow",
        "longitude": -141.951519,
        "latitude": 64.068865,
        "id": "arp_lhr_gb",
        "icao_code": "EGLL",
        "iata_country_code": "GB",
        "iata_code": "LHR",
        "iata_city_code": "LON",
        "city_name": "London",
        "city": {
          "name": "London",
          "id": "cit_lon_gb",
          "iata_country_code": "GB",
          "iata_code": "LON"
        },
        "airports": [
          {
            "time_zone": "Europe/London",
            "name": "Heathrow",
            "longitude": -141.951519,
            "latitude": 64.068865,
            "id": "arp_lhr_gb",
            "icao_code": "EGLL",
            "iata_country_code": "GB",
            "iata_code": "LHR",
            "iata_city_code": "LON",
            "city_name": "London",
            "city": {
              "name": "London",
              "id": "cit_lon_gb",
              "iata_country_code": "GB",
              "iata_code": "LON"
            }
          }
        ]
      }
    }
  ]

@0x9ef
Copy link
Author

0x9ef commented Aug 23, 2023

cc @ivanvanderbyl

@ivanvanderbyl
Copy link
Contributor

@0x9ef I'm no longer a maintainer on this repo, so I can't review or merge this. Ping @LindseyRenken

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants