Sha256: 63c5e0290464329b997d2f0254422c92d0c0c7dfaff53d85c355ee360dcad339
Contents?: true
Size: 976 Bytes
Versions: 3
Compression:
Stored size: 976 Bytes
Contents
# Google Maps Scraper With Ruby The library provides real-time access to the places from Google Maps via [Outscraper API](https://app.outscraper.com/api-docs#tag/Google-Maps). ## 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 businesses in specific locations: result = client.google_maps_search_v2('restaurants brooklyn usa', limit: 20, language: 'en', region: 'us') # Get data of the specific place by id result = client.google_maps_search_v2('ChIJrc9T9fpYwokRdvjYRHT8nI4', language: 'en') ```
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
outscraper-0.1.3 | examples/Google Maps.md |
outscraper-0.1.2 | examples/Google Maps.md |
outscraper-0.1.1 | examples/Google Maps.md |