The above link utilizes the standard REST link and enhances it by setting the beginning date using NiFi’s Expression language to get the current time in UNIX format in seconds. In this example, I am looking at the last week of data for the airport departures and arrivals in the second URL.
We iterate through a list of the largest airports in the United States doing both departures and arrivals since they use the same format.
Read the article to learn more about how you can tie it all together. You can also check out Tim’s GitHub repo to grab the code.