Efteling

Efteling

Efteling Park Object

Constructor

new Efteling(options)

Description:
  • Create a new Efteling Park object
Source:
Parameters:
Name Type Description
options object

Classes

Efteling

Methods

(async) _fetchPOIData() → {array.<object>}

Description:
  • Fetch POI data from Efteling API
Source:
Returns:
Type
array.<object>

(async) _getRestaurantOperatingHoursForDate(date)

Description:
  • Return restaurant operating hours for the supplied date
Source:
Parameters:
Name Type Description
date moment

(async) buildAttractionEntities()

Description:
  • Build the attraction entities for this destination
Source:

buildBaseEntityObject(data) → {object}

Description:
  • Helper function to build a basic entity document Useful to avoid copy/pasting
Source:
Parameters:
Name Type Description
data object
Returns:
Type
object

(async) buildDestinationEntity()

Description:
  • Build the destination entity representing this destination
Source:

(async) buildEntityLiveData()

Source:

(async) buildEntityScheduleData() → {array.<object>}

Description:
  • Return schedule data for all scheduled entities in this destination Eg. parks
Source:
Returns:
Type
array.<object>

(async) buildParkEntities()

Description:
  • Build the park entities for this destination
Source:

(async) buildRestaurantEntities()

Description:
  • Build the restaurant entities for this destination
Source:

(async) buildShowEntities()

Description:
  • Build the show entities for this destination
Source:

(async) getCalendarMonth(month, year) → {array.<object>}

Description:
  • Get calendar data for the given month and year
Source:
Parameters:
Name Type Description
month string
year string
Returns:
Type
array.<object>

(async) getPOIData()

Description:
  • Get Efteling POI data This data contains general ride names, descriptions etc. Wait time data references this to get ride names
Source:

(async) getRestaurantOperatingHours(day, month, year)

Description:
  • Get restaurant operating hours from API
Source:
Parameters:
Name Type Description
day string
month string
year string