scraper-typtap

1.0.1 • Public • Published

TypTap Scraper

Installation

npm install --save scraper-typtap

Parameters

Key Value Example Criteria
address string '223 E. Concord Street'
buildingLimitValue int 310000 choose between 242000 - 362000
deductible string/enum '2000' ["500", "1000", "2000", "5000", "10000"]
monthsInHome string/enum "6-9" ["0", "1-5", "6-9", "10-12"]
personalPropertyReplacement boolean true if true, personalPropertyValue must be 25% of buildingLimitValue
personalPropertyValue int 46000 0 - (buildingLimitValue / 2)
totalFloodClaims string/enum "0" "9999"(unsure), "0", "1", "2", "3+", "9999"

Making the call

const scraper = require('scraper-typtap');

const params = {...};

const premium = scraper.getPremium(params);

Response

Successful response will return an object containing premium with a value type string

{ premium: '$403' }

Unsuccessful response will return an empty object

{}

Readme

Keywords

none

Package Sidebar

Install

npm i scraper-typtap

Weekly Downloads

1

Version

1.0.1

License

none

Unpacked Size

47.6 kB

Total Files

8

Last publish

Collaborators

  • anthonyk1225