airportinfo library

Library for retrieving airport information from an API.

Classes

Airport
AirportInfo
ApiKey
Holds RapidAPI host and key information.

Enums

RequestType
Determines which code format to use for the request.

Functions

isCodeValid(String code, RequestType type) → bool
Checks for a valid airport identifier code.

Exceptions / Errors

InvalidCodeException
Thrown when a provided code is invalid for the RequestType specified.