0.01
No commit activity in last 3 years
No release in over 3 years
Client for the Instagram Web Service without Instagram API. Implemented in Ruby using the Selenium and Mechanize module.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

InstagramUser

Gem Version Coverage Status Maintainability

Client for the Instagram Web Service without Instagram API.
Implemented in Ruby using the Selenium and Mechanize module.

Installation

gem 'instagram_user'

And then execute:

$ bundle

Or install it yourself as:

$ gem install instagram_user

Usage

cli = InstagramUser.new(user_name: 'YOUR_USER_NAME', password: 'YOUR_PASSWORD')

# Get the follow list for the specified user
follows = cli.get_follows('instagram_user_name')
# => ["user_name1", "user_name2"...]

# Get the follower list for the specified user
followers = cli.get_followers('instagram_user_name')
# => ["user_name1", "user_name2"...]

# Follow the specified user
res = cli.create_follow('instagram_user_name')
# => true or false

# Unfollow the specified user
res = cli.delete_follow('instagram_user_name')
# => true or false

# get media for the specified tag
res = cli.get_medias_by_tag('japanesefood')
# => {"recent" => [...], "popularity" => [...]}

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

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

Code of Conduct

Everyone interacting in the InstagramUser project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.