Skip to content

Gem to work with airport checkpoint wait times from the TSA

Notifications You must be signed in to change notification settings

skostojohn/tsadata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tsadata

Gem to work with airport checkpoint wait times from the TSA.

dependencies

nokogiri

classes

TSAdata

pass an airport short code to create

a = TSAdata.new "JFK"

methods

recentwaits

returns a hash containing recent wait times reported for each checkpoint at the airport.

a.recentwaits

TSAreport

pass an array of airport codes to create

b = TSAreport.new ["JFK","EWR","LGA"]

methods

writereport

takes a filename as parameter. Creates a file containing wait times for the checkpoints at the airports.

b.writereport "filename.txt"

About

Gem to work with airport checkpoint wait times from the TSA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages