Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.43 KB

README.md

File metadata and controls

54 lines (37 loc) · 1.43 KB

Park Info

This is a very simple library to access information about theme parks.

Currently, it is only handling Disney parks, but I plan to add others quickly.

Installation

gem install park_info

Usage

> require 'park_info'
 => true
 
> mk = ParkInfo::DisneyWorld::MagicKingdom.new
 => #<ParkInfo::DisneyWorld::MagicKingdom:0x007fefc7887f98>
 
> barnstormer = a.attractions[5]
 => #<ParkInfo::DisneyAttraction:0x007fefc724bf30 @data=..."}>}>
> barnstormer.name
 => "The Barnstormer"
 
> barnstormer.waitTime.keys
 => ["fastPass", "status", "singleRider", "postedWaitMinutes", "rollUpStatus", "rollUpWaitTimeMessage"]
 
> barnstormer.waitTime.status
 => "Operating"
 
> barnstormer.waitTime.postedWaitMinutes
 => 20

Currently, the data is cached locally for 5 minutes.

Supported Theme Parks

  • Disney World Orlando

    • Animal Kingdom (ParkInfo::DisneyWorld::AnimalKingdom)
    • Epcot (ParkInfo::DisneyWorld::Epcot)
    • Hollywood Studios (ParkInfo::DisneyWorld::HollywoodStudios)
    • Magic Kingdom (ParkInfo::DisneyWorld:MagicKingdom)
  • Disneyland

    • California Adventure (ParkInfo::Disneyland::CaliforniaAdventure)
    • Disneyland Park (ParkInfo::Disneyland::DisneylandPark)
  • Disneyland Paris

    • Disneyland Park (ParkInfo::DisneylandParis::DisneylandPark)
    • Walt Disney Studios (ParkInfo::DisneylandParis::WaltDisneyStudios)
  • Hong Kong Disneyland

    • Disneyland Park (ParkInfo::HongKongDisneyland::DisneylandPark)