A zero-dependency Ruby client for the Scrape Creators API.
Add this line to your application's Gemfile:
gem 'scrape_creators', '0.2.0'And then execute:
$ bundle installConfigure your API key in an initializer (e.g., config/initializers/scrape_creators.rb):
ScrapeCreators.configure do |config|
config.api_key = ENV['SCRAPE_CREATORS_API_KEY']
endInitialize a client:
scraper = ScrapeCreators::Client.newposts = scraper.posts("zuck")info = scraper.post("https://www.instagram.com/p/DKSMEpKRd6h/", download_media: true)comments = scraper.comments("https://www.instagram.com/p/DKSMEpKRd6h/")The gem is available as open source under the terms of the MIT License.