Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

ScrapeCreators

A zero-dependency Ruby client for the Scrape Creators API.

Installation

Add this line to your application's Gemfile:

gem 'scrape_creators', '0.2.0'

And then execute:

$ bundle install

Configuration

Configure 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']
end

Usage

Initialize a client:

scraper = ScrapeCreators::Client.new

Fetch Instagram User Posts & Reels

posts = scraper.posts("zuck")

Fetch Instagram Post / Reel Info

info = scraper.post("https://www.instagram.com/p/DKSMEpKRd6h/", download_media: true)

Fetch Instagram Post / Reel Comments

comments = scraper.comments("https://www.instagram.com/p/DKSMEpKRd6h/")

License

The gem is available as open source under the terms of the MIT License.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages