cubehouse / themeparks

Unofficial API for accessing ride wait times and schedules for Disneyland, Disney World, Universal Studios, and many more parks
MIT License
538 stars 126 forks source link

Added Busch Gardens Tampa & Williamsburg #243

Closed thomasstoeckert closed 4 years ago

thomasstoeckert commented 4 years ago

Basing the system off of the code used for Sea World (same backend/server), I've added the two Busch Gardens parks.

Busch Gardens Tampa works well, reporting wait times, attractions, park hours, etc. Same functionality as Sea World Orlando.

Busch Gardens Williamsburg, unfortunately, doesn't report their wait times on their website properly. The page is there, the links on the home page are there, but their website is just broken. I didn't remove it from this PR simply because attraction listing & operating hours are present, but could remove it if that's a critical part of operation.

cubehouse commented 4 years ago

HI @thomasstoeckert

Rather than duplicate the SeaworldParkBase file, can you reuse the existing one? If it needs to be made more general, please update it :)

Thanks!

thomasstoeckert commented 4 years ago

How does that implementation sound?

The brand option is used for the mock property in the HTTP calls, siteHost is either "seaworld.com" or "buschgardens.com." Do you think that might be too open-ended?

cubehouse commented 4 years ago

That's great, thank you!

Pushed to 5.1.23