Global

Members

Number

# constant CREDITS_LENGTH

Amount of stars to display as credits

# constant getParameterizedImage

Gets a image with a {template} substring and replace it with the correct values

# constant getProxiedImagesItems

Function to get the proxied images.

String

# constant ITEM_TYPE_SEASON_EPISODE

Item's size. It's used to get the image's template Url with the correct size

# constant SESSION_KEY

Constant key to store the session values

Methods

# async createOptsObject(opts) → {Promise.<object>}

creates the opts object to pass to the OVP API, extending with the default params

Parameters:
Name Type Description
opts object

params object

the opts param to pass to the OVP API

Promise.<object>

# async getConfiguration() → {Configuration}

Fetch the Configuration CMS content

The Configuration

Configuration