Manual Reference Source Test
public interface | source

IProvider

Direct Subclass:

AbstractProvider

Direct Implemented:

Interface for scraping and content from various sources.

Test:

Method Summary

Public Methods
public abstract

Get the contents for a configuration.

public abstract

Get the contents for the configurations.

Public Methods

public abstract scrapeConfig(config: Object): Promise<Array<Object>, Error> source

Get the contents for a configuration.

Params:

NameTypeAttributeDescription
config Object
  • nullable: false

The config to get content with.

Return:

Promise<Array<Object>, Error>

The results of a configuration.

Throw:

Error

Using default method: '_scrapeConfig'

Test:

public abstract scrapeConfigs(): Promise<Array<Object>, Error> source

Get the contents for the configurations.

Return:

Promise<Array<Object>, Error>

The results of the scrape configurations.

Throw:

Error

Using default method: 'scrapeConfigs'

Test: