Cool instagram scripts and API wrapper. Written in Python.
As you may know, Instagram closed it's API in summer 2016. This Python module can do the same thing without any effort.
If you have any ideas, please, leave them in issues section.
Your Contribution and Support through Stars will be highly appreciated.
Install latest stable version from pip
pip install -U instabot
Or from github
pip install git+git://github.com/ohld/instabot.git
If you have problems like "some package not found" try
pip install -r requirements.txt
import instabot
api = instabot.API()
api.login()
api.follow('ohld')
api.logout()
Choose any example from examples and run
python example.py
- login / logout
- like / unlike
- follow / unfollow
- comment
- get_profile_info
- get_following
- get_user_id_by_username
- subscribe_to_following.py
subscribes to person's following
- unfollow_non_followers.py
unsubscribes from persons that are not follow you
- save_my_stats.py
Saves every hour to track your growth
- save_my_following.py
Saves your followings list into *.tsv format
More information you can find in examples folder.
inspired by @mgp25 and @LevPasha