Skip to content

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

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages