3.4.5 • Published 4 years ago

neutrinoapi v3.4.5

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Getting started

The general-purpose API

Initialization

Authentication

In order to setup authentication in the API client, you need the following information.

ParameterDescription
userIdYour user ID
apiKeyYour API key

API client can be initialized as following:

const lib = require('lib');

// Configuration parameters and credentials
lib.Configuration.userId = "userId"; // Your user ID
lib.Configuration.apiKey = "apiKey"; // Your API key

Class Reference

List of Controllers

Class: Imaging

Get singleton instance

The singleton instance of the Imaging class can be accessed from the API Client.

var controller = lib.Imaging;

Method: imageResize

Resize an image and output as either JPEG or PNG. See: https://www.neutrinoapi.com/api/image-resize/

function imageResize(imageUrl, width, height, format, callback)

Parameters

ParameterTagsDescription
imageUrlRequiredThe URL to the source image
widthRequiredThe width to resize to (in px) while preserving aspect ratio
heightRequiredThe height to resize to (in px) while preserving aspect ratio
formatOptional DefaultValueThe output image format, can be either png or jpg

Example Usage

    var imageUrl = 'image-url';
    var width = 111;
    var height = 111;
    var format = 'format';

    TestHelper.getFileContents('url', function(data) {
        controller.imageResize(imageUrl, width, height, format, function(error, response, context) {

        });
    });

Method: qRCode

Generate a QR code as a PNG image. See: https://www.neutrinoapi.com/api/qr-code/

function qRCode(content, width, height, fgColor, bgColor, callback)

Parameters

ParameterTagsDescription
contentRequiredThe content to encode into the QR code (e.g. a URL or a phone number)
widthOptional DefaultValueThe width of the QR code (in px)
heightOptional DefaultValueThe height of the QR code (in px)
fgColorOptional DefaultValueThe QR code foreground color
bgColorOptional DefaultValueThe QR code background color

Example Usage

    var content = 'content';
    var width = 111;
    var height = 111;
    var fgColor = 'fg-color';
    var bgColor = 'bg-color';

    TestHelper.getFileContents('url', function(data) {
        controller.qRCode(content, width, height, fgColor, bgColor, function(error, response, context) {

        });
    });

Method: imageWatermark

Watermark one image with another image. See: https://www.neutrinoapi.com/api/image-watermark/

function imageWatermark(imageUrl, watermarkUrl, opacity, format, position, width, height, callback)

Parameters

ParameterTagsDescription
imageUrlRequiredThe URL to the source image
watermarkUrlRequiredThe URL to the watermark image
opacityOptional DefaultValueThe opacity of the watermark (0 to 100)
formatOptional DefaultValueThe output image format, can be either png or jpg
positionOptional DefaultValueThe position of the watermark image, possible values are: center, top-left, top-center, top-right, bottom-left, bottom-center, bottom-right
widthOptionalIf set resize the resulting image to this width (in px) while preserving aspect ratio
heightOptionalIf set resize the resulting image to this height (in px) while preserving aspect ratio

Example Usage

    var imageUrl = 'image-url';
    var watermarkUrl = 'watermark-url';
    var opacity = 111;
    var format = 'format';
    var position = 'position';
    var width = 111;
    var height = 111;

    TestHelper.getFileContents('url', function(data) {
        controller.imageWatermark(imageUrl, watermarkUrl, opacity, format, position, width, height, function(error, response, context) {

        });
    });

Method: hTML5Render

Render HTML content to PDF, JPG or PNG. See: https://www.neutrinoapi.com/api/html5-render/

function hTML5Render(content, format, pageSize, title, margin, marginLeft, marginRight, marginTop, marginBottom, landscape, zoom, grayscale, mediaPrint, mediaQueries, forms, css, imageWidth, imageHeight, renderDelay, headerTextLeft, headerTextCenter, headerTextRight, headerSize, headerFont, headerFontSize, headerLine, footerTextLeft, footerTextCenter, footerTextRight, footerSize, footerFont, footerFontSize, footerLine, pageWidth, pageHeight, callback)

Parameters

ParameterTagsDescription
contentRequiredThe HTML content. This can be either a URL to load HTML from or an actual HTML content string
formatOptional DefaultValueWhich format to output, available options are: PDF, PNG, JPG
pageSizeOptional DefaultValueSet the document page size, can be one of: A0 - A9, B0 - B10, Comm10E, DLE or Letter
titleOptionalThe document title
marginOptional DefaultValueThe document margin (in mm)
marginLeftOptional DefaultValueThe document left margin (in mm)
marginRightOptional DefaultValueThe document right margin (in mm)
marginTopOptional DefaultValueThe document top margin (in mm)
marginBottomOptional DefaultValueThe document bottom margin (in mm)
landscapeOptional DefaultValueSet the document to lanscape orientation
zoomOptional DefaultValueSet the zoom factor when rendering the page (2.0 for double size, 0.5 for half size)
grayscaleOptional DefaultValueRender the final document in grayscale
mediaPrintOptional DefaultValueUse @media print CSS styles to render the document
mediaQueriesOptional DefaultValueActivate all @media queries before rendering. This can be useful if you wan't to render the mobile version of a responsive website
formsOptional DefaultValueGenerate real (fillable) PDF forms from HTML forms
cssOptionalInject custom CSS into the HTML. e.g. 'body { background-color: red;}'
imageWidthOptional DefaultValueIf rendering to an image format (PNG or JPG) use this image width (in pixels)
imageHeightOptionalIf rendering to an image format (PNG or JPG) use this image height (in pixels). The default is automatic which dynamically sets the image height based on the content
renderDelayOptional DefaultValueNumber of milliseconds to wait before rendering the page (can be useful for pages with animations etc)
headerTextLeftOptionalText to print to the left-hand side header of each page. e.g. 'My header - Page {page_number} of {total_pages}'
headerTextCenterOptionalText to print to the center header of each page
headerTextRightOptionalText to print to the right-hand side header of each page
headerSizeOptional DefaultValueThe height of your header (in mm)
headerFontOptional DefaultValueSet the header font. Fonts available: Times, Courier, Helvetica, Arial
headerFontSizeOptional DefaultValueSet the header font size (in pt)
headerLineOptional DefaultValueDraw a full page width horizontal line under your header
footerTextLeftOptionalText to print to the left-hand side footer of each page. e.g. 'My footer - Page {page_number} of {total_pages}'
footerTextCenterOptionalText to print to the center header of each page
footerTextRightOptionalText to print to the right-hand side header of each page
footerSizeOptional DefaultValueThe height of your footer (in mm)
footerFontOptional DefaultValueSet the footer font. Fonts available: Times, Courier, Helvetica, Arial
footerFontSizeOptional DefaultValueSet the footer font size (in pt)
footerLineOptional DefaultValueDraw a full page width horizontal line above your footer
pageWidthOptionalSet the PDF page width explicitly (in mm)
pageHeightOptionalSet the PDF page height explicitly (in mm)

Example Usage

    var content = 'content';
    var format = 'format';
    var pageSize = 'page-size';
    var title = 'title';
    var margin = 111;
    var marginLeft = 111;
    var marginRight = 111;
    var marginTop = 111;
    var marginBottom = 111;
    var landscape = false;
    var zoom = 111;
    var grayscale = false;
    var mediaPrint = false;
    var mediaQueries = false;
    var forms = false;
    var css = 'css';
    var imageWidth = 111;
    var imageHeight = 111;
    var renderDelay = 111;
    var headerTextLeft = 'header-text-left';
    var headerTextCenter = 'header-text-center';
    var headerTextRight = 'header-text-right';
    var headerSize = 111;
    var headerFont = 'header-font';
    var headerFontSize = 111;
    var headerLine = false;
    var footerTextLeft = 'footer-text-left';
    var footerTextCenter = 'footer-text-center';
    var footerTextRight = 'footer-text-right';
    var footerSize = 111;
    var footerFont = 'footer-font';
    var footerFontSize = 111;
    var footerLine = false;
    var pageWidth = 111;
    var pageHeight = 111;

    TestHelper.getFileContents('url', function(data) {
        controller.hTML5Render(content, format, pageSize, title, margin, marginLeft, marginRight, marginTop, marginBottom, landscape, zoom, grayscale, mediaPrint, mediaQueries, forms, css, imageWidth, imageHeight, renderDelay, headerTextLeft, headerTextCenter, headerTextRight, headerSize, headerFont, headerFontSize, headerLine, footerTextLeft, footerTextCenter, footerTextRight, footerSize, footerFont, footerFontSize, footerLine, pageWidth, pageHeight, function(error, response, context) {

        });
    });

Back to List of Controllers

Class: Telephony

Get singleton instance

The singleton instance of the Telephony class can be accessed from the API Client.

var controller = lib.Telephony;

Method: verifySecurityCode

Check if a security code from one of the verify APIs is valid. See: https://www.neutrinoapi.com/api/verify-security-code/

function verifySecurityCode(securityCode, callback)

Parameters

ParameterTagsDescription
securityCodeRequiredThe security code to verify

Example Usage

    var securityCode = 'security-code';

    controller.verifySecurityCode(securityCode, function(error, response, context) {

    
    });

Method: hLRLookup

Connect to the global mobile cellular network and retrieve the status of a mobile device. See: https://www.neutrinoapi.com/api/hlr-lookup/

function hLRLookup(number, countryCode, callback)

Parameters

ParameterTagsDescription
numberRequiredA phone number
countryCodeOptionalISO 2-letter country code, assume numbers are based in this country. If not set numbers are assumed to be in international format (with or without the leading + sign)

Example Usage

    var number = 'number';
    var countryCode = 'country-code';

    controller.hLRLookup(number, countryCode, function(error, response, context) {

    
    });

Method: phonePlayback

Make an automated call to any valid phone number and playback an audio message. See: https://www.neutrinoapi.com/api/phone-playback/

function phonePlayback(number, audioUrl, callback)

Parameters

ParameterTagsDescription
numberRequiredThe phone number to call. Must be in valid international format
audioUrlRequiredA URL to a valid audio file. Accepted audio formats are: MP3 WAV OGG You can use the following MP3 URL for testing: https://www.neutrinoapi.com/test-files/test1.mp3

Example Usage

    var number = 'number';
    var audioUrl = 'audio-url';

    controller.phonePlayback(number, audioUrl, function(error, response, context) {

    
    });

Method: sMSVerify

Send a unique security code to any mobile device via SMS. See: https://www.neutrinoapi.com/api/sms-verify/

function sMSVerify(number, codeLength, securityCode, countryCode, languageCode, callback)

Parameters

ParameterTagsDescription
numberRequiredThe phone number to send a verification code to
codeLengthOptional DefaultValueThe number of digits to use in the security code (must be between 4 and 12)
securityCodeOptionalPass in your own security code. This is useful if you have implemented TOTP or similar 2FA methods. If not set then we will generate a secure random code
countryCodeOptionalISO 2-letter country code, assume numbers are based in this country. If not set numbers are assumed to be in international format (with or without the leading + sign)
languageCodeOptional DefaultValueThe language to send the verification code in, available languages are: de - German en - English es - Spanish fr - French it - Italian pt - Portuguese ru - Russian

Example Usage

    var number = 'number';
    var codeLength = 111;
    var securityCode = 111;
    var countryCode = 'country-code';
    var languageCode = 'language-code';

    controller.sMSVerify(number, codeLength, securityCode, countryCode, languageCode, function(error, response, context) {

    
    });

Method: sMSMessage

Send a free-form message to any mobile device via SMS. See: https://www.neutrinoapi.com/api/sms-message/

function sMSMessage(number, message, countryCode, callback)

Parameters

ParameterTagsDescription
numberRequiredThe phone number to send a message to
messageRequiredThe SMS message to send. Messages are truncated to a maximum of 150 characters for ASCII content OR 70 characters for UTF content
countryCodeOptionalISO 2-letter country code, assume numbers are based in this country. If not set numbers are assumed to be in international format (with or without the leading + sign)

Example Usage

    var number = 'number';
    var message = 'message';
    var countryCode = 'country-code';

    controller.sMSMessage(number, message, countryCode, function(error, response, context) {

    
    });

Method: phoneVerify

Make an automated call to any valid phone number and playback a unique security code. See: https://www.neutrinoapi.com/api/phone-verify/

function phoneVerify(number, codeLength, securityCode, playbackDelay, countryCode, languageCode, callback)

Parameters

ParameterTagsDescription
numberRequiredThe phone number to send the verification code to
codeLengthOptional DefaultValueThe number of digits to use in the security code (between 4 and 12)
securityCodeOptionalPass in your own security code. This is useful if you have implemented TOTP or similar 2FA methods. If not set then we will generate a secure random code
playbackDelayOptional DefaultValueThe delay in milliseconds between the playback of each security code
countryCodeOptionalISO 2-letter country code, assume numbers are based in this country. If not set numbers are assumed to be in international format (with or without the leading + sign)
languageCodeOptional DefaultValueThe language to playback the verification code in, available languages are: de - German en - English es - Spanish fr - French it - Italian pt - Portuguese ru - Russian

Example Usage

    var number = 'number';
    var codeLength = 111;
    var securityCode = 111;
    var playbackDelay = 111;
    var countryCode = 'country-code';
    var languageCode = 'language-code';

    controller.phoneVerify(number, codeLength, securityCode, playbackDelay, countryCode, languageCode, function(error, response, context) {

    
    });

Back to List of Controllers

Class: DataTools

Get singleton instance

The singleton instance of the DataTools class can be accessed from the API Client.

var controller = lib.DataTools;

Method: emailValidate

Parse, validate and clean an email address. See: https://www.neutrinoapi.com/api/email-validate/

function emailValidate(email, fixTypos, callback)

Parameters

ParameterTagsDescription
emailRequiredAn email address
fixTyposOptional DefaultValueAutomatically attempt to fix typos in the address

Example Usage

    var email = 'email';
    var fixTypos = false;

    controller.emailValidate(email, fixTypos, function(error, response, context) {

    
    });

Method: userAgentInfo

Parse, validate and get detailed user-agent information from a user agent string. See: https://www.neutrinoapi.com/api/user-agent-info/

function userAgentInfo(userAgent, callback)

Parameters

ParameterTagsDescription
userAgentRequiredA user agent string

Example Usage

    var userAgent = 'user-agent';

    controller.userAgentInfo(userAgent, function(error, response, context) {

    
    });

Method: badWordFilter

Detect bad words, swear words and profanity in a given text. See: https://www.neutrinoapi.com/api/bad-word-filter/

function badWordFilter(content, censorCharacter, callback)

Parameters

ParameterTagsDescription
contentRequiredThe content to scan. This can be either a URL to load content from or an actual content string
censorCharacterOptionalThe character to use to censor out the bad words found

Example Usage

    var content = 'content';
    var censorCharacter = 'censor-character';

    controller.badWordFilter(content, censorCharacter, function(error, response, context) {

    
    });

Method: convert

A powerful unit conversion tool. See: https://www.neutrinoapi.com/api/convert/

function convert(fromValue, fromType, toType, callback)

Parameters

ParameterTagsDescription
fromValueRequiredThe value to convert from (e.g. 10.95)
fromTypeRequiredThe type of the value to convert from (e.g. USD)
toTypeRequiredThe type to convert to (e.g. EUR)

Example Usage

    var fromValue = 'from-value';
    var fromType = 'from-type';
    var toType = 'to-type';

    controller.convert(fromValue, fromType, toType, function(error, response, context) {

    
    });

Method: phoneValidate

Parse, validate and get location information about a phone number. See: https://www.neutrinoapi.com/api/phone-validate/

function phoneValidate(number, countryCode, ip, callback)

Parameters

ParameterTagsDescription
numberRequiredA phone number. This can be in international format (E.164) or local format. If passing local format you should use the 'country-code' or 'ip' options as well
countryCodeOptionalISO 2-letter country code, assume numbers are based in this country. If not set numbers are assumed to be in international format (with or without the leading + sign)
ipOptionalPass in a users IP address and we will assume numbers are based in the country of the IP address

Example Usage

    var number = 'number';
    var countryCode = 'country-code';
    var ip = 'ip';

    controller.phoneValidate(number, countryCode, ip, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SecurityAndNetworking

Get singleton instance

The singleton instance of the SecurityAndNetworking class can be accessed from the API Client.

var controller = lib.SecurityAndNetworking;

Method: iPProbe

Analyze and extract provider information for an IP address. See: https://www.neutrinoapi.com/api/ip-probe/

function iPProbe(ip, callback)

Parameters

ParameterTagsDescription
ipRequiredIPv4 or IPv6 address

Example Usage

    var ip = 'ip';

    controller.iPProbe(ip, function(error, response, context) {

    
    });

Method: emailVerify

SMTP based email address verification. See: https://www.neutrinoapi.com/api/email-verify/

function emailVerify(email, fixTypos, callback)

Parameters

ParameterTagsDescription
emailRequiredAn email address
fixTyposOptional DefaultValueAutomatically attempt to fix typos in the address

Example Usage

    var email = 'email';
    var fixTypos = false;

    controller.emailVerify(email, fixTypos, function(error, response, context) {

    
    });

Method: iPBlocklist

The IP Blocklist API will detect potentially malicious or dangerous IP addresses. See: https://www.neutrinoapi.com/api/ip-blocklist/

function iPBlocklist(ip, callback)

Parameters

ParameterTagsDescription
ipRequiredAn IPv4 or IPv6 address

Example Usage

    var ip = 'ip';

    controller.iPBlocklist(ip, function(error, response, context) {

    
    });

Method: hostReputation

Check the reputation of an IP address, domain name, FQDN or URL against a comprehensive list of blacklists and blocklists. See: https://www.neutrinoapi.com/api/host-reputation/

function hostReputation(host, listRating, callback)

Parameters

ParameterTagsDescription
hostRequiredAn IP address, domain name, FQDN or URL. If you supply a domain/URL it will be checked against the URI DNSBL lists
listRatingOptional DefaultValueOnly check lists with this rating or better

Example Usage

    var host = 'host';
    var listRating = 111;

    controller.hostReputation(host, listRating, function(error, response, context) {

    
    });

Back to List of Controllers

Class: Geolocation

Get singleton instance

The singleton instance of the Geolocation class can be accessed from the API Client.

var controller = lib.Geolocation;

Method: geocodeReverse

Convert a geographic coordinate (latitude and longitude) into a real world address. See: https://www.neutrinoapi.com/api/geocode-reverse/

function geocodeReverse(latitude, longitude, languageCode, zoom, callback)

Parameters

ParameterTagsDescription
latitudeRequiredThe location latitude in decimal degrees format
longitudeRequiredThe location longitude in decimal degrees format
languageCodeOptional DefaultValueThe language to display results in, available languages are: de, en, es, fr, it, pt, ru
zoomOptional DefaultValueThe zoom level to respond with: address - the most precise address available street - the street level city - the city level state - the state level country - the country level

Example Usage

    var latitude = 'latitude';
    var longitude = 'longitude';
    var languageCode = 'language-code';
    var zoom = 'zoom';

    controller.geocodeReverse(latitude, longitude, languageCode, zoom, function(error, response, context) {

    
    });

Method: iPInfo

Get location information about an IP address and do reverse DNS (PTR) lookups. See: https://www.neutrinoapi.com/api/ip-info/

function iPInfo(ip, reverseLookup, callback)

Parameters

ParameterTagsDescription
ipRequiredIPv4 or IPv6 address
reverseLookupOptional DefaultValueDo a reverse DNS (PTR) lookup. This option can add extra delay to the request so only use it if you need it

Example Usage

    var ip = 'ip';
    var reverseLookup = false;

    controller.iPInfo(ip, reverseLookup, function(error, response, context) {

    
    });

Method: geocodeAddress

Geocode an address, partial address or just the name of a place. See: https://www.neutrinoapi.com/api/geocode-address/

function geocodeAddress(address, countryCode, languageCode, fuzzySearch, callback)

Parameters

ParameterTagsDescription
addressRequiredThe address, partial address or name of a place to try and locate
countryCodeOptionalThe ISO 2-letter country code to be biased towards (the default is no country bias)
languageCodeOptional DefaultValueThe language to display results in, available languages are: de, en, es, fr, it, pt, ru
fuzzySearchOptional DefaultValueIf no matches are found for the given address, start performing a recursive fuzzy search until a geolocation is found. This option is recommended for processing user input or implementing auto-complete. We use a combination of approximate string matching and data cleansing to find possible location matches

Example Usage

    var address = 'address';
    var countryCode = 'country-code';
    var languageCode = 'language-code';
    var fuzzySearch = false;

    controller.geocodeAddress(address, countryCode, languageCode, fuzzySearch, function(error, response, context) {

    
    });

Back to List of Controllers

Class: ECommerce

Get singleton instance

The singleton instance of the ECommerce class can be accessed from the API Client.

var controller = lib.ECommerce;

Method: bINLookup

Perform a BIN (Bank Identification Number) or IIN (Issuer Identification Number) lookup. See: https://www.neutrinoapi.com/api/bin-lookup/

function bINLookup(binNumber, customerIp, callback)

Parameters

ParameterTagsDescription
binNumberRequiredThe BIN or IIN number (the first 6 digits of a credit card number)
customerIpOptionalPass in the customers IP address and we will return some extra information about them

Example Usage

    var binNumber = 'bin-number';
    var customerIp = 'customer-ip';

    controller.bINLookup(binNumber, customerIp, function(error, response, context) {

    
    });

Back to List of Controllers

Class: WWW

Get singleton instance

The singleton instance of the WWW class can be accessed from the API Client.

var controller = lib.WWW;

Method: uRLInfo

Parse, analyze and retrieve content from the supplied URL. See: https://www.neutrinoapi.com/api/url-info/

function uRLInfo(url, fetchContent, ignoreCertificateErrors, timeout, callback)

Parameters

ParameterTagsDescription
urlRequiredThe URL to probe
fetchContentOptional DefaultValueIf this URL responds with html, text, json or xml then return the response. This option is useful if you want to perform further processing on the URL content (e.g. with the HTML Extract or HTML Clean APIs)
ignoreCertificateErrorsOptional DefaultValueIgnore any TLS/SSL certificate errors and load the URL anyway
timeoutOptional DefaultValueTimeout in seconds. Give up if still trying to load the URL after this number of seconds

Example Usage

    var url = 'url';
    var fetchContent = false;
    var ignoreCertificateErrors = false;
    var timeout = 111;

    controller.uRLInfo(url, fetchContent, ignoreCertificateErrors, timeout, function(error, response, context) {

    
    });

Method: hTMLClean

Clean and sanitize untrusted HTML. See: https://www.neutrinoapi.com/api/html-clean/

function hTMLClean(content, outputType, callback)

Parameters

ParameterTagsDescription
contentRequiredThe HTML content. This can be either a URL to load HTML from or an actual HTML content string
outputTypeRequiredThe level of sanitization, possible values are: plain-text: reduce the content to plain text only (no HTML tags at all) simple-text: allow only very basic text formatting tags like b, em, i, strong, u basic-html: allow advanced text formatting and hyper links basic-html-with-images: same as basic html but also allows image tags advanced-html: same as basic html with images but also allows many more common HTML tags like table, ul, dl, pre

Example Usage

    var content = 'content';
    var outputType = 'output-type';

    TestHelper.getFileContents('url', function(data) {
        controller.hTMLClean(content, outputType, function(error, response, context) {

        });
    });

Method: browserBot

Browser bot can extract content, interact with keyboard and mouse events, and execute JavaScript on a website. See: https://www.neutrinoapi.com/api/browser-bot/

function browserBot(url, timeout, delay, selector, exec, userAgent, ignoreCertificateErrors, callback)

Parameters

ParameterTagsDescription
urlRequiredThe URL to load
timeoutOptional DefaultValueTimeout in seconds. Give up if still trying to load the page after this number of seconds
delayOptional DefaultValueDelay in seconds to wait before capturing any page data, executing selectors or JavaScript
selectorOptionalExtract content from the page DOM using this selector. Commonly known as a CSS selector, you can find a good reference here
execOptional CollectionExecute JavaScript on the page. Each array element should contain a valid JavaScript statement in string form. If a statement returns any kind of value it will be returned in the 'exec-results' response. For your convenience you can also use the following special shortcut functions: sleep(seconds); Just wait/sleep for the specified number of seconds. click('selector'); Click on the first element matching the given selector. focus('selector'); Focus on the first element matching the given selector. keys('characters'); Send the specified keyboard characters. Use click() or focus() first to send keys to a specific element. enter(); Send the Enter key. tab(); Send the Tab key. Example: "click('#button-id')", "sleep(1)", "click('.field-class')", "keys('1234')", "enter()"
userAgentOptionalOverride the browsers default user-agent string with this one
ignoreCertificateErrorsOptional DefaultValueIgnore any TLS/SSL certificate errors and load the page anyway

Example Usage

    var url = 'url';
    var timeout = 111;
    var delay = 111;
    var selector = 'selector';
    var exec = ['exec'];
    var userAgent = 'user-agent';
    var ignoreCertificateErrors = false;

    controller.browserBot(url, timeout, delay, selector, exec, userAgent, ignoreCertificateErrors, function(error, response, context) {

    
    });

Back to List of Controllers

3.4.5

4 years ago