Socket
Socket
Sign inDemoInstall

@scrapeit-cloud/scrapeit-cloud-node-sdk

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scrapeit-cloud/scrapeit-cloud-node-sdk

NodeJS SDK to interact with Scrape-it Cloud API


Version published
Maintainers
1
Weekly downloads
3
decreased by-50%

Weekly downloads

Readme

Source

Scrapeit Cloud NodeJS SDK

Scrapeit Cloud - Web Scraping API with Proxy Rotation. Get valuable data at scale in HTML format from any website without need for a proxy.

Interface to call Scrapeit Cloud API easily from Node.

Install

npm i @scrapeit-cloud/scrapeit-cloud-node-sdk

Usage

Signup to Scrapeit Cloud to get your API key and some free credits to get started.

import ScrapeitSDK from './index';

const main = async() => {
  const scrapeit = new ScrapeitSDK('INSERT_YOUR_API_KEY_HERE');

  try {
    const response = await scrapeit.scrape({
      "url": "https://example.com",
      "screenshot": true,
      "proxy_country": "US",
      "proxy_type": "datacenter"
    });

    console.log(response);
  } catch(e) {
    console.log(e.message);
  }
};

main();

Scrapeit Cloud supports various parameters to execute a custom JavaScript script, use a premium proxy from a specific geolocation and more.

You can find all the supported parameters on Scrapeit Cloud documentation.

Keywords

FAQs

Last updated on 05 Oct 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc