Cloudfunction to invoke flight status api. This is a sample cloud functions code that interacts with the Flightaware API and acts as a webhook for api.ai response.
Your use of this sample is subject to, and by using or downloading the sample files you agree to comply with, the Google APIs Terms of Service and the API.AI's Terms of Use and Privacy Policy.
This code is a sample, should not be used for any potential production workloads.