Sha256: 24d12d9035b3fc0cf7343d3af1cb80ca7e047cde904b5dbcbd40dd67ec4291ba

Contents?: true

Size: 824 Bytes

Versions: 2

Compression:

Stored size: 824 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:
result = 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.1.3 examples/Google SERP.md
outscraper-0.1.2 examples/Google SERP.md