Class: ScrapperSchemas documentation

models~ScrapperSchemas()

new ScrapperSchemas()

The Scrapper schemas

Source:

Methods

(static) ScrapperSchemas.statics.addsource(uinput, callback)

Add a new Source object to a Scrapper

Parameters:
Name Type Description
uinput Object

the user inputs and param see below

Properties
Name Type Description
scrapperid String

the user scrapper to update

sourcegenre String

from enum ['Bank', 'Crypto', 'Markets']

sourcetype String

the source type (is feed, price or other ?)

sourcename String

the source name

sourceurl String

the source url

sourcereqhost String

the source https base req host

sourcereqpath String

the source https base req path

callback function

to get the result data or error

Source:
To Do:
  • format insertion format before calling this function