JSPM

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

1.0.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q56051F
  • License MIT

NodeJS SDK to interact with Scrape-it Cloud API

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@scrapeit-cloud/scrapeit-cloud-node-sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    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.