Skip to content

Commit 2402943

Browse files
Merge pull request #10 from outscraper/os-added-more-examples-yellowpages
added new examples, yellowpages
2 parents 71b065a + d0dade7 commit 2402943

14 files changed

+393
-2
lines changed

examples/Company Insights.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Company Insights With Server-side JavaScript
2+
3+
Finds company details such as revenue, size, founding year, public status, etc. [Outscraper API](https://app.outscraper.cloud/api-docs#tag/Other-Services/paths/~1company-insights/get).
4+
5+
## Installation
6+
7+
Install the package with:
8+
```bash
9+
npm install outscraper --save
10+
# Or
11+
yarn add outscraper
12+
```
13+
14+
[Link to the NPM package page](https://www.npmjs.com/package/outscraper)
15+
16+
## Initialization
17+
```js
18+
const Outscraper = require('outscraper');
19+
// Or using ES modules:
20+
import Outscraper from 'outscraper';
21+
22+
let client = new Outscraper('SECRET_API_KEY');
23+
24+
```
25+
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
26+
27+
## Usage
28+
29+
```js
30+
// Get information about the companies:
31+
client.companyInsights(['outscraper.com']).then(response => {
32+
console.log(response);
33+
});;
34+
```

examples/Company Website Finder.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Company Website Finder With Server-side JavaScript
2+
3+
Finds company websites based on business names.[Outscraper API](https://app.outscraper.cloud/api-docs#tag/Domain-Related/paths/~1company-website-finder/get).
4+
5+
## Installation
6+
7+
Install the package with:
8+
```bash
9+
npm install outscraper --save
10+
# Or
11+
yarn add outscraper
12+
```
13+
14+
[Link to the NPM package page](https://www.npmjs.com/package/outscraper)
15+
16+
## Initialization
17+
```js
18+
const Outscraper = require('outscraper');
19+
// Or using ES modules:
20+
import Outscraper from 'outscraper';
21+
22+
let client = new Outscraper('SECRET_API_KEY');
23+
24+
```
25+
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
26+
27+
## Usage
28+
29+
```js
30+
// Get information about business:
31+
client.companyWebsitesFinder(['Apple Inc']).then(response => {
32+
console.log(response);
33+
});;
34+
```

examples/Email Addresses Finder.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Email Addresses Finder With Server-side JavaScript
2+
3+
Allows to validate email addresses. Checks if emails are deliverable. [Outscraper API](https://app.outscraper.cloud/api-docs#tag/Email-Related/paths/~1email-validator/get).
4+
5+
## Installation
6+
7+
Install the package with:
8+
```bash
9+
npm install outscraper --save
10+
# Or
11+
yarn add outscraper
12+
```
13+
14+
[Link to the NPM package page](https://www.npmjs.com/package/outscraper)
15+
16+
## Initialization
17+
```js
18+
const Outscraper = require('outscraper');
19+
// Or using ES modules:
20+
import Outscraper from 'outscraper';
21+
22+
let client = new Outscraper('SECRET_API_KEY');
23+
24+
```
25+
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
26+
27+
## Usage
28+
29+
```js
30+
// Validate email addresses:
31+
client.validateEmails(['support@outscraper.com']).then(response => {
32+
console.log(response);
33+
});;
34+
```
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Google Maps Photos Scraper With Server-side JavaScript
2+
3+
Returns Google Maps photos from places when using search queries (e.g., restaurants, Manhattan, NY, USA) or from a single place when using IDs or names (e.g., NoMad Restaurant, NY, USA, 0x886916e8bc273979:0x5141fcb11460b226, ChIJu7bMNFV-54gR-lrHScvPRX4).
4+
In case no photos were found by your search criteria, your search request will consume the usage of one photo.[Outscraper API](https://app.outscraper.cloud/api-docs#tag/Google/paths/~1maps~1photos-v3/get).
5+
6+
## Installation
7+
8+
Install the package with:
9+
```bash
10+
npm install outscraper --save
11+
# Or
12+
yarn add outscraper
13+
```
14+
15+
[Link to the NPM package page](https://www.npmjs.com/package/outscraper)
16+
17+
## Initialization
18+
```js
19+
const Outscraper = require('outscraper');
20+
// Or using ES modules:
21+
import Outscraper from 'outscraper';
22+
23+
let client = new Outscraper('SECRET_API_KEY');
24+
25+
```
26+
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
27+
28+
## Usage
29+
30+
```js
31+
// Get information about the places photos:
32+
client.getGoogleMapsPhotos(['The NoMad Restaurant, NY, USA']).then(response => {
33+
console.log(response);
34+
});;
35+
```

examples/SimilarWeb Scraper.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# SimilarWeb Scraper With Server-side JavaScript
2+
3+
Returns website analytics data including traffic, rankings, audience insights, and competitive intelligence from SimilarWeb [Outscraper API](https://app.outscraper.cloud/api-docs#tag/Domain-Related/paths/~1similarweb/get).
4+
5+
## Installation
6+
7+
Install the package with:
8+
```bash
9+
npm install outscraper --save
10+
# Or
11+
yarn add outscraper
12+
```
13+
14+
[Link to the NPM package page](https://www.npmjs.com/package/outscraper)
15+
16+
## Initialization
17+
```js
18+
const Outscraper = require('outscraper');
19+
// Or using ES modules:
20+
import Outscraper from 'outscraper';
21+
22+
let client = new Outscraper('SECRET_API_KEY');
23+
24+
```
25+
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
26+
27+
## Usage
28+
29+
```js
30+
// Get data from Similarweb businesses:
31+
client.similarweb(['apple.com']).then(response => {
32+
console.log(response);
33+
});;
34+
```
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Tripadvisor Reviews Scraper With Server-side JavaScript
2+
3+
Returns reviews from Tripadvisor businesses.
4+
In case no reviews were found by your search criteria, your search request will consume the usage of one review. [Outscraper API](https://app.outscraper.cloud/api-docs#tag/Reviews-and-Comments/paths/~1tripadvisor-reviews/get).
5+
6+
## Installation
7+
8+
Install the package with:
9+
```bash
10+
npm install outscraper --save
11+
# Or
12+
yarn add outscraper
13+
```
14+
15+
[Link to the NPM package page](https://www.npmjs.com/package/outscraper)
16+
17+
## Initialization
18+
```js
19+
const Outscraper = require('outscraper');
20+
// Or using ES modules:
21+
import Outscraper from 'outscraper';
22+
23+
let client = new Outscraper('SECRET_API_KEY');
24+
25+
```
26+
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
27+
28+
## Usage
29+
30+
```js
31+
// Get information about business:
32+
client.tripadvisorReviews(['https://www.tripadvisor.com Restaurant_Review-g187147-d12947099-Reviews-Mayfair_Garden-Paris_Ile_de_France.html']).then(response => {
33+
console.log(response);
34+
});;
35+
```
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Trustpilot Reviews Scraper With Server-side JavaScript
2+
3+
Returns reviews from Trustpilot businesses. In case no reviews were found by your search criteria, your search request will consume the usage of one review.[Outscraper API](https://app.outscraper.cloud/api-docs#tag/Reviews-and-Comments/paths/~1trustpilot~1reviews/get).
4+
5+
## Installation
6+
7+
Install the package with:
8+
```bash
9+
npm install outscraper --save
10+
# Or
11+
yarn add outscraper
12+
```
13+
14+
[Link to the NPM package page](https://www.npmjs.com/package/outscraper)
15+
16+
## Initialization
17+
```js
18+
const Outscraper = require('outscraper');
19+
// Or using ES modules:
20+
import Outscraper from 'outscraper';
21+
22+
let client = new Outscraper('SECRET_API_KEY');
23+
24+
```
25+
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
26+
27+
## Usage
28+
29+
```js
30+
// Get information about the reviews from Trustpilot:
31+
client.trustpilotReviews(['https://www.trustpilot.com/review/outscraper.com']).then(response => {
32+
console.log(response);
33+
});;
34+
```

examples/Trustpilot Scraper.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Trustpilot Scraper With Server-side JavaScript
2+
3+
Returns data from Trustpilot businesses. [Outscraper API](https://app.outscraper.cloud/api-docs#tag/Businesses-and-POI/paths/~1trustpilot/get).
4+
5+
## Installation
6+
7+
Install the package with:
8+
```bash
9+
npm install outscraper --save
10+
# Or
11+
yarn add outscraper
12+
```
13+
14+
[Link to the NPM package page](https://www.npmjs.com/package/outscraper)
15+
16+
## Initialization
17+
```js
18+
const Outscraper = require('outscraper');
19+
// Or using ES modules:
20+
import Outscraper from 'outscraper';
21+
22+
let client = new Outscraper('SECRET_API_KEY');
23+
24+
```
25+
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
26+
27+
## Usage
28+
29+
```js
30+
// Search data from Trustpilot businesses:
31+
client.trustpilot(['outscraper.com']).then(response => {
32+
console.log(response);
33+
});;
34+
```
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Trustpilot Search Scraper With Server-side JavaScript
2+
3+
Returns search results from Trustpilot. [Outscraper API](https://app.outscraper.cloud/api-docs#tag/Trustpilot/paths/~1trustpilot~1search/get).
4+
5+
## Installation
6+
7+
Install the package with:
8+
```bash
9+
npm install outscraper --save
10+
# Or
11+
yarn add outscraper
12+
```
13+
14+
[Link to the NPM package page](https://www.npmjs.com/package/outscraper)
15+
16+
## Initialization
17+
```js
18+
const Outscraper = require('outscraper');
19+
// Or using ES modules:
20+
import Outscraper from 'outscraper';
21+
22+
let client = new Outscraper('SECRET_API_KEY');
23+
24+
```
25+
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
26+
27+
## Usage
28+
29+
```js
30+
// Get information about the search results from Trustpilot:
31+
client.trustpilotSearch(['real estate']).then(response => {
32+
console.log(response);
33+
});;
34+
```
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Yellow Pages Search Scraper With Server-side JavaScript
2+
3+
Returns search results from Yellow Pages. [Outscraper API](https://app.outscraper.cloud/api-docs#tag/Businesses-and-POI/paths/~1yellowpages-search/get).
4+
5+
## Installation
6+
7+
Install the package with:
8+
```bash
9+
npm install outscraper --save
10+
# Or
11+
yarn add outscraper
12+
```
13+
14+
[Link to the NPM package page](https://www.npmjs.com/package/outscraper)
15+
16+
## Initialization
17+
```js
18+
const Outscraper = require('outscraper');
19+
// Or using ES modules:
20+
import Outscraper from 'outscraper';
21+
22+
let client = new Outscraper('SECRET_API_KEY');
23+
24+
```
25+
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
26+
27+
## Usage
28+
29+
```js
30+
// Search results from Yellow Pages:
31+
client.yellowpagesSearch(['restaurants']).then(response => {
32+
console.log(response);
33+
});;
34+
```

0 commit comments

Comments
 (0)