new CedarFairPark(options)
Create new CedarFairPark Object.
This object should not be called directly, but rather extended for each of the individual Cedar Fair parks
Parameters:
Name |
Type |
Description |
options |
Object
|
Properties
Name |
Type |
Argument |
Description |
park_id |
String
|
|
ID of the park to access the API for |
auth_token |
String
|
<optional>
|
Auth token to use to connect to the API |
api_base |
String
|
<optional>
|
Base URL to access the API |
ride_types |
Array.<String>
|
<optional>
|
Array of types that denote rides at the park (to avoid listing restaurants/toilets etc. as rides) |
special_hours |
Array.<String>
|
<optional>
|
Array of park IDs to combine with main park for special hours (eg. scaryfarm) |
|