getFeedAirportsWithHttpInfo method
Airports supporting data feed service FREE TIER
Which airports support flight schedules? or Which airports support live flight updates? At the moment airports having both ICAO and IATA code are present in database only. Returns: Collection ICAO codes of airports supporting specified airport data feed service.
Note: This method returns the HTTP Response.
Parameters:
- FeedServiceEnum service (required): Airport data feed service name
Implementation
Future<Response> getFeedAirportsWithHttpInfo(
FeedServiceEnum service,
) async {
// ignore: prefer_const_declarations
final path = r'/health/services/feeds/{service}/airports'
.replaceAll('{service}', service.toString());
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}