Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Cannot pull in live data from API for the flights #5

@lukemenziesAA

Description

@lukemenziesAA

Hi,

I am trying to pull in live data from the API for the flights but it keeps returning a null response in the live section of the json.

I am using the following command

https://api.aviationstack.com/v1/flights?access_key=*access_kay*&limit=10&offset=0

I am using a basic plan? I get the following response

{
"pagination": {
"limit": 10,
"offset": 0,
"count": 10,
"total": 9594200
},
"data": [ ...
{
"flight_date": "2022-05-18",
"flight_status": "scheduled",
"departure": {
"airport": "Kingsford Smith",
"timezone": "Australia/Sydney",
"iata": "SYD",
"icao": "YSSY",
"terminal": null,
"gate": null,
"delay": null,
"scheduled": "2022-05-18T03:15:00+00:00",
"estimated": "2022-05-18T03:15:00+00:00",
"actual": null,
"estimated_runway": null,
"actual_runway": null
},
"arrival": {
"airport": "Adelaide International Airport",
"timezone": "Australia/Adelaide",
"iata": "ADL",
"icao": "YPAD",
"terminal": null,
"gate": null,
"baggage": null,
"delay": null,
"scheduled": "2022-05-18T05:00:00+00:00",
"estimated": "2022-05-18T05:00:00+00:00",
"actual": null,
"estimated_runway": null,
"actual_runway": null
},
"airline": {
"name": "Qantas",
"iata": "QF",
"icao": "QFA"
},
"flight": {
"number": "7448",
"iata": "QF7448",
"icao": "QFA7448",
"codeshared": null
},
"aircraft": null,
"live": null
}
]
}

If someone can give some insight into what is going wrong, I would be most grateful.

Thanks

Luke

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions