Constructor
new Network(id, networkSection)
Initializes this object.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
id |
string
|
The id of the network. |
networkSection |
exports.NetworkSection
|
The parent NetworkSection. |
Methods
(async) getAlternativeNamesAsync() → {Promise.<*>}
Gets the alternative titles of the network in question.
- Source:
Returns:
- Type:
-
Promise.<*>
A Promise of JSON data with alternative titles.
(async) getDetailsAsync() → {Promise.<*>}
Gets all details about this network.
- Source:
Returns:
- Type:
-
Promise.<*>
A Promise of JSON data with network details.
(async) getImagesAsync() → {Promise.<*>}
Gets the images of the network in question.
- Source:
Returns:
- Type:
-
Promise.<*>
A Promise of JSON data with network images.