How do the JSON and Object and description table of future schedules API of Aviation Edge work?
The Aviation Edge future schedules API provides a wealth of information on upcoming flights, including details on departure and arrival times, airlines, and flight numbers. One of the ways this information can be accessed is through the use of an object table, which organizes the data into a format that is easily readable and can be easily manipulated by a programmer. Additionally, the API also allows for the data to be accessed in JSON format, which is a lightweight data interchange format that is easy for humans to read and write and easy for machines to parse and generate. In this article, I will focus specifically on the object table and JSON output of the Aviation Edge future schedules API, providing examples of how the data can be accessed and used in these formats.
Object table
Objects | Description |
weekday | Weekday of the flight, "1" being Monday |
departure | Departure details |
iataCode | Departure airport IATA code |
icaoCode | Departure airport ICAO code |
terminal | Departure airport terminal |
gate | Departure airport flight gate |
scheduledTime | Originally scheduled departure time |
arrival | Arrival details |
iataCode | Arrival airport IATA code |
icaoCode | Arrival airport ICAO code |
terminal | Arrival airport terminal |
gate | Arrival airport flight gate |
scheduledTime | Originally scheduled arrival time |
aircraft | Aircraft details |
modelCode | Aircraft model in IATA format |
modelText | Aircraft model with brand |
airline | Airline details |
name | Airline name |
iataCode | Airline IATA code |
weekday
- Weekday of the flight, with "1" being Monday.departure
- This object is empty and does not have a description.iataCode
- Departure airport's IATA (International Air Transport Association) code.icaoCode
- Departure airport's ICAO (International Civil Aviation Organization) code.terminal
- Departure airport terminal.gate
- Departure airport flight gate.scheduledTime
- Originally scheduled departure time.arrival
- This object is empty and does not have a description.iataCode
- Arrival airport's IATA (International Air Transport Association) code.icaoCode
- Arrival airport's ICAO (International Civil Aviation Organization) code.terminal
- Arrival airport terminal.gate
- Arrival airport flight gate.scheduledTime
- Originally scheduled arrival time.aircraft
- This object is empty and does not have a description.modelCode
- Aircraft model in IATA (International Air Transport Association) format.modelText
- Aircraft model with brand.airline
- This object is empty and does not have a description.name
- Airline name.iataCode
- Airline's IATA (International Air Transport Association) code.
The information in the table is useful because it provides a clear and detailed breakdown of the various objects and fields that are returned when accessing the Aviation Edge future schedules API. For example, the "weekday" field tells us on which day of the week the flight is scheduled to occur, and the "iataCode" and "icaoCode" fields give us the IATA and ICAO codes for the departure and arrival airports respectively. Additionally, the "terminal" and "gate" fields provide information about the departure and arrival terminals and gates, and the "scheduledTime" field tells us the originally scheduled departure and arrival times. Knowing this information can help developers to understand the data structure and make sense of it, and also make more accurate decisions.
Clarifying JSON
The JSON output describes a flight schedule that includes information about the flight's departure and arrival airports, aircraft, and airline. The schedule is for a flight that departs on Monday, indicated by the "weekday" field with a value of "1". The departure airport is identified by the "iataCode" and "icaoCode" fields with values "mty" and "mmmy" respectively. The flight is scheduled to depart from terminal "c" and gate "f2" at "20:35", as specified by the "terminal", "gate" and "scheduledTime" fields. The arrival airport is identified by the "iataCode" and "icaoCode" fields with values "iah" and "kiah" respectively. The flight is scheduled to arrive at terminal "d" and gate "d12" at "22:00". The aircraft used for the flight is identified by the "modelCode" field with value "a320" and "modelText" field with value "airbus a320-232". The airline that operates the flight is identified by the "name" field with value "vivaaerobus", "iataCode" field with value "vb" and "icaoCode" field with value "viv". The flight number is identified by the "number" field with value "616", "iataNumber" field with value "vb616" and "icaoNumber" field with value "viv616" .
[
{"weekday": "1",
"departure":
{
"iataCode": "mty",
"icaoCode": "mmmy",
"terminal": "c",
"gate": "f2",
"scheduledTime": "20:35"
},
"arrival":
{"iataCode": "iah",
"icaoCode": "kiah",
"terminal": "d",
"gate": "d12",
"scheduledTime": "22:00"
},
"aircraft":
{"modelCode": "a320",
"modelText": "airbus a320-232"
},
"airline":
{"name": "vivaaerobus",
"iataCode": "vb",
"icaoCode": "viv"},
"flight":
{"number": "616",
"iataNumber": "vb616",
"icaoNumber": "viv616"}
}
]
In Conclusion
In summary, this conversation provided an explanation of the object table and JSON output of the Aviation Edge future schedules API, as well as the information that can be found in the JSON output. The object table provided a clear breakdown of the various objects and fields that are returned when accessing the API, and the JSON output provided an example of the data that can be expected. The information in both the object table and JSON output include details about flight schedules, departure and arrival airports, aircraft, and airline, that are useful for developers to understand the data structure and make more accurate decisions.
Reference
The Aviation Edge future schedules API is a data resource that provides real-time information about flight schedules. The API can be accessed via third-party data marketplace, Worldindata. Through Worldindata, users can request access to the API and gain access to the data it provides. To request access, users will need to register for an account on the Worldindata platform, and then submit a request for access to the Aviation Edge future schedules API. It's important to mention that the availability and cost of accessing the API may vary depending on the provider's commercial model.