Skip to content

Ruby app that checks reservation.gov for campsite vacancies

Notifications You must be signed in to change notification settings

jenzhng/campground-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

campground-checker

Command line Ruby app that checks reservation.gov for campsite vacancies. App takes input such as camp type, number of nights, and park id. You can find the park id for specific campsites on recreation.gov

Testing

  • retrieve park name
  • retrieve availability for multiple parks

Example Usage

ruby campground-checker.rb --start_date 2022-05-01 --parks 232508
{:start_date=>"2022-05-01", :parks=>"232508"}
BLACKWOODS CAMPGROUND
ruby campground-checker.rb --start_date 2022-05-01 --end_date 2022-05-31 --parks 10149034 --campsite_type 'CABIN ELECTRIC' --nights 5
{:parks=>["10149034"], :campsite_ids=>[], :start_date=>"2022-05-01", :end_date=>"2022-05-31", :campsite_type=>"CABIN ELECTRIC", :nights=>"5"}
there are campsites open from 2022-05-01 to 2022-05-31!!!
The Bayberry Dunes Beachview House (10149034): 1 site(s) open out of 1 site(s)

About

Ruby app that checks reservation.gov for campsite vacancies

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages