rlog76 / ruby-instagram-scraper

А simple module for requests to Instagram without an API key.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

А simple module for requests to Instagram without an API key.

Installation

$ gem install ruby-instagram-scraper

Or with Bundler in your Gemfile.

gem 'ruby-instagram-scraper'

Methods

After installation you can do following requests to Instagram:

# Search by tag or username:
RubyInstagramScraper.search("gopro")

# Get user media nodes:
RubyInstagramScraper.get_user_media_nodes("gopro")

# Pass an "id" of node to offset:
RubyInstagramScraper.get_user_media_nodes("gopro")

# Get next portion of nodes of same tag by passing last node "id":
RubyInstagramScraper.get_tag_media_nodes( "gopro")

About

А simple module for requests to Instagram without an API key.

License:MIT License


Languages

Language:Ruby 100.0%