Skip to content

Commit 6b0c2e4

Browse files
Merge pull request #4 from outscraper/os-added-more-examples-yellowpages
Os added more examples yellowpages
2 parents 43a2500 + aebdc46 commit 6b0c2e4

13 files changed

Lines changed: 371 additions & 1 deletion

examples/Company Insights.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Company Insights With Ruby
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 gem and add to the application's Gemfile by executing:
8+
```bash
9+
bundle add outscraper
10+
```
11+
12+
If bundler is not being used to manage dependencies, install the gem by executing:
13+
```bash
14+
gem install outscraper
15+
```
16+
17+
[Link to the Ruby package page](https://rubygems.org/gems/outscraper)
18+
19+
## Initialization
20+
```ruby
21+
require 'Outscraper'
22+
23+
client = Outscraper::Client.new('SECRET_API_KEY')
24+
```
25+
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
26+
27+
## Usage
28+
29+
```ruby
30+
# Get information about the companies:
31+
results = client.company_insights('outscraper.com')
32+
```

examples/Company Website Finder.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Company Website Finder With Ruby
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 gem and add to the application's Gemfile by executing:
8+
```bash
9+
bundle add outscraper
10+
```
11+
12+
If bundler is not being used to manage dependencies, install the gem by executing:
13+
```bash
14+
gem install outscraper
15+
```
16+
17+
[Link to the Ruby package page](https://rubygems.org/gems/outscraper)
18+
19+
## Initialization
20+
```ruby
21+
require 'Outscraper'
22+
23+
client = Outscraper::Client.new('SECRET_API_KEY')
24+
```
25+
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
26+
27+
## Usage
28+
29+
```ruby
30+
# Get information about business:
31+
results = client.company_website_finder('Apple Inc')
32+
```

examples/Email Addresses Finder.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Email Addresses Finder With Ruby
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 gem and add to the application's Gemfile by executing:
8+
```bash
9+
bundle add outscraper
10+
```
11+
12+
If bundler is not being used to manage dependencies, install the gem by executing:
13+
```bash
14+
gem install outscraper
15+
```
16+
17+
[Link to the Ruby package page](https://rubygems.org/gems/outscraper)
18+
19+
## Initialization
20+
```ruby
21+
require 'Outscraper'
22+
23+
client = Outscraper::Client.new('SECRET_API_KEY')
24+
```
25+
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
26+
27+
## Usage
28+
29+
```ruby
30+
# Validate email addresses:
31+
results = client.validate_emails('support@outscraper.com')
32+
```
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Google Maps Photos Scraper With Ruby
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 gem and add to the application's Gemfile by executing:
9+
```bash
10+
bundle add outscraper
11+
```
12+
13+
If bundler is not being used to manage dependencies, install the gem by executing:
14+
```bash
15+
gem install outscraper
16+
```
17+
18+
[Link to the Ruby package page](https://rubygems.org/gems/outscraper)
19+
20+
## Initialization
21+
```ruby
22+
require 'Outscraper'
23+
24+
client = Outscraper::Client.new('SECRET_API_KEY')
25+
```
26+
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
27+
28+
## Usage
29+
30+
```ruby
31+
# Get information about the places photos:
32+
results = client.google_maps_photos('The NoMad Restaurant, NY, USA')
33+
```

examples/SimilarWeb Scraper.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# SimilarWeb Scraper With Ruby
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 gem and add to the application's Gemfile by executing:
8+
```bash
9+
bundle add outscraper
10+
```
11+
12+
If bundler is not being used to manage dependencies, install the gem by executing:
13+
```bash
14+
gem install outscraper
15+
```
16+
17+
[Link to the Ruby package page](https://rubygems.org/gems/outscraper)
18+
19+
## Initialization
20+
```ruby
21+
require 'Outscraper'
22+
23+
client = Outscraper::Client.new('SECRET_API_KEY')
24+
```
25+
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
26+
27+
## Usage
28+
29+
```ruby
30+
# Get data from Similarweb businesses:
31+
results = client.similarweb('apple.com')
32+
```
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Tripadvisor Reviews Scraper With Ruby
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 gem and add to the application's Gemfile by executing:
9+
```bash
10+
bundle add outscraper
11+
```
12+
13+
If bundler is not being used to manage dependencies, install the gem by executing:
14+
```bash
15+
gem install outscraper
16+
```
17+
18+
[Link to the Ruby package page](https://rubygems.org/gems/outscraper)
19+
20+
## Initialization
21+
```ruby
22+
require 'Outscraper'
23+
24+
client = Outscraper::Client.new('SECRET_API_KEY')
25+
```
26+
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
27+
28+
## Usage
29+
30+
```ruby
31+
# Get information about business:
32+
results = client.tripadvisor_reviews('https://www.tripadvisor.com Restaurant_Review-g187147-d12947099-Reviews-Mayfair_Garden-Paris_Ile_de_France.html')
33+
```
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Trustpilot Reviews Scraper With Ruby
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 gem and add to the application's Gemfile by executing:
8+
```bash
9+
bundle add outscraper
10+
```
11+
12+
If bundler is not being used to manage dependencies, install the gem by executing:
13+
```bash
14+
gem install outscraper
15+
```
16+
17+
[Link to the Ruby package page](https://rubygems.org/gems/outscraper)
18+
19+
## Initialization
20+
```ruby
21+
require 'Outscraper'
22+
23+
client = Outscraper::Client.new('SECRET_API_KEY')
24+
```
25+
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
26+
27+
## Usage
28+
29+
```ruby
30+
# Get information about the reviews from Trustpilot:
31+
results = client.trustpilot_reviews('https://www.trustpilot.com/review/outscraper.com')
32+
```

examples/Trustpilot Scraper.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Trustpilot Scraper With Ruby
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 gem and add to the application's Gemfile by executing:
8+
```bash
9+
bundle add outscraper
10+
```
11+
12+
If bundler is not being used to manage dependencies, install the gem by executing:
13+
```bash
14+
gem install outscraper
15+
```
16+
17+
[Link to the Ruby package page](https://rubygems.org/gems/outscraper)
18+
19+
## Initialization
20+
```ruby
21+
require 'Outscraper'
22+
23+
client = Outscraper::Client.new('SECRET_API_KEY')
24+
```
25+
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
26+
27+
## Usage
28+
29+
```ruby
30+
# Search data from Trustpilot businesses:
31+
results = client.trustpilot('outscraper.com')
32+
```
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Trustpilot Search Scraper With Ruby
2+
3+
Returns search results from Trustpilot. [Outscraper API](https://app.outscraper.cloud/api-docs#tag/Trustpilot/paths/~1trustpilot~1search/get).
4+
5+
6+
## Installation
7+
8+
Install the gem and add to the application's Gemfile by executing:
9+
```bash
10+
bundle add outscraper
11+
```
12+
13+
If bundler is not being used to manage dependencies, install the gem by executing:
14+
```bash
15+
gem install outscraper
16+
```
17+
18+
[Link to the Ruby package page](https://rubygems.org/gems/outscraper)
19+
20+
## Initialization
21+
```ruby
22+
require 'Outscraper'
23+
24+
client = Outscraper::Client.new('SECRET_API_KEY')
25+
```
26+
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
27+
28+
## Usage
29+
30+
```ruby
31+
# Get information about the search results from Trustpilot:
32+
results = client.trustpilot_search('real estate')
33+
```
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Emails And Contacts Scraper With Ruby
2+
3+
Allows finding email addresses, social links, and phones from domains via [Outscraper API](https://app.outscraper.com/api-docs#tag/Emails-and-Contacts).
4+
5+
## Installation
6+
7+
Install the gem and add to the application's Gemfile by executing:
8+
```bash
9+
bundle add outscraper
10+
```
11+
12+
If bundler is not being used to manage dependencies, install the gem by executing:
13+
```bash
14+
gem install outscraper
15+
```
16+
17+
[Link to the Ruby package page](https://rubygems.org/gems/outscraper)
18+
19+
## Initialization
20+
```ruby
21+
require 'Outscraper'
22+
23+
client = Outscraper::Client.new('SECRET_API_KEY')
24+
```
25+
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
26+
27+
## Usage
28+
29+
```ruby
30+
# Search results from Yellow Pages:
31+
results = client.yellowpages_search('restaurants')
32+
```

0 commit comments

Comments
 (0)