Constructor
new DisneylandParis(options)
- Description:
- Create a new DisneylandParis object
- Source:
Parameters:
Name |
Type |
Description |
options |
object
|
|
Classes
- DisneylandParis
Methods
(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) fetchPremierAccessData() → {array}
- Description:
- Fetch premier access data
- Source:
Returns:
-
Type
-
array
(async) fetchResortScheduleForDate(date) → {array.<schedule>}
- Description:
- Fetch schedule data for a specific day
DLP's API returns one day at a time
- Source:
Parameters:
Name |
Type |
Description |
date |
string
|
YYYY-MM-DD format |
Returns:
-
Type
-
array.<schedule>
(async) fetchVirtualQueueData() → {array}
- Description:
- Fetch virtual queue status
- Source:
Returns:
-
Type
-
array
(async) fetchWaitData() → {object}
- Description:
- Source:
Returns:
-
Type
-
object
(async) getAuthApiKey() → {string}
- Description:
- Get API key for authentication
- Source:
Returns:
-
Type
-
string
(async) getAuthToken() → {string}
- Description:
- Fetch our auth token to access the HTTP API
- Source:
Returns:
-
Type
-
string
(async) getPOIData()
- Description:
- Source:
Returns:
(async) getRefreshToken()
- Description:
- Get our latest refresh token
- Source:
(async) refreshAuthToken()
- Description:
- Use a refresh token to get a new token object
- Source: