Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hasdata/scrapeit-cloud-node-sdk
NodeJS SDK to interact with Scrape-it Cloud API
https://github.com/hasdata/scrapeit-cloud-node-sdk
cloud javascript nodejs proxy scraper
Last synced: about 1 month ago
JSON representation
NodeJS SDK to interact with Scrape-it Cloud API
- Host: GitHub
- URL: https://github.com/hasdata/scrapeit-cloud-node-sdk
- Owner: HasData
- License: mit
- Created: 2022-08-09T12:34:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-05T18:11:33.000Z (about 2 years ago)
- Last Synced: 2024-11-14T02:19:04.044Z (about 1 month ago)
- Topics: cloud, javascript, nodejs, proxy, scraper
- Language: JavaScript
- Size: 32.2 KB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Scrapeit Cloud NodeJS SDK
[Scrapeit Cloud](https://scrape-it.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](https://scrape-it.cloud/) easily from Node.
## Install
npm i @scrapeit-cloud/scrapeit-cloud-node-sdk
## Usage
Signup to Scrapeit Cloud to [get your API key](https://app.scrape-it.cloud/sign-up) 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](https://scrape-it.cloud/docs/).