scraperapi-ruby-sdk
Installation
SKILL.md
ScraperAPI — Ruby SDK Best Practices
Requires: Ruby >= 2.0, gem install scraperapi (or gem 'scraperapi' in Gemfile), SCRAPERAPI_API_KEY environment variable.
Setup
require "scraper_api"
client = ScraperAPI::Client.new(ENV["SCRAPERAPI_API_KEY"])
Never hardcode the API key. Read it from the environment every time.