Sha256: 1be5dec213c9a309ad96e0581b2af32ad6ee874c619ac9e8da9595fa27c3909b

Contents?: true

Size: 825 Bytes

Versions: 2

Compression:

Stored size: 825 Bytes

Contents

# Google Search Results Scraper With Ruby

The library returns search results from Google based on a given search query via [Outscraper API](https://app.outscraper.com/api-docs#tag/Google-Search).

## Installation

Install the gem and add to the application's Gemfile by executing:
```bash
bundle add outscraper
```

If bundler is not being used to manage dependencies, install the gem by executing:
```bash
gem install outscraper
```

[Link to the Ruby package page](https://rubygems.org/gems/outscraper)

## Initialization
```ruby
require 'Outscraper'

client = Outscraper::Client.new('SECRET_API_KEY')
```
[Link to the profile page to create the API key](https://app.outscraper.com/profile)

## Usage

```ruby
# Search for SERP results:
results = client.google_search('buy iphone 13 TX', language: 'en', region: 'us')
```

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
outscraper-0.2.0 examples/Google SERP.md
outscraper-0.1.4 examples/Google SERP.md