TokyoDisneyResort

TokyoDisneyResort

TokyoDisneyResortPark Object

Constructor

new TokyoDisneyResort(options)

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

Classes

TokyoDisneyResort

Methods

(async) _buildAttractionObject()

Source:

(async) _fetchWaitTimes() → {array.<data>}

Description:
  • Fetch live wait time data
Source:
Returns:
Type
array.<data>

(async) _getOperatingHoursForDate()

Source:

(async) _getRestaurantOperatingHoursForDate(date)

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

(async) _update()

Source:

(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) fetchAllFacilitiesData()

Description:
  • Get the latest facilities data for the entire resort
Source:

(async) fetchCalendar()

Description:
  • Fetch the upcoming calendar
Source:

(async) fetchDeviceID()

Description:
  • Return or fetch a device ID to use for API calls
Source:

(async) fetchFacilitiesData()

Description:
  • Get facilities data for this park
Source:

(async) fetchLatestVersion() → {string}

Description:
  • Fetch the current app version on the Google Play store
Source:
Returns:
Type
string

(async) fetchRestaurantOperatingHours()

Description:
  • Fetch the restaurant operating hours
Source:

(async) getEntitiesOfType(filterFn) → {array.<entity>}

Description:
  • Return an array of entities given a filter function (sift-style)
Source:
Parameters:
Name Type Description
filterFn function
Returns:
Type
array.<entity>