Instagram Private API to like, follow, comment, view & intaract with stories and upload post & stories.
Reason this release was yanked:
login issue
Project description
MyIGBot
MyIGBot is a Instagram Private API to like, follow, comment, view & intaract with stories and upload post & stories.
- Easy to use
- More Features
- 2FA Login Support
New Features!
- Upload Post and Stories
- Intaract with Stories
- Cookie Storing Feature
You can also:
- Send Story Views
- Like, Unlike, Comment in a Post
- Follow, Unfollow User
Tech
MyIGBot uses a number of open source projects to work properly:
- Python - Python is an interpreted, high-level and general-purpose programming language
- Requests - to make HTTP requests simpler
- BeautifulSoup - is a Python package for parsing HTML and XML documents.
- Numpy - is the core library for scientific computing in Python.
And of course MyIGBot itself is open source with a public repository on GitHub.
Installation
Install MyIGBot from PyPi
$ pip install myigbot
Usage
Here is how to use MyIGBot
from myigbot import MyIGBot
bot = MyIGBot('USERNAME', 'PASSWORD') # Login Information (if you're account has 2 Factor Auth. The Bot Will Ask You The Code.)
# like post
a=bot.like('URL')
print(a)
# like recent post of user
b=bot.like_recent('USERNAME')
print(b)
# unlike post
c=bot.unlike('URL')
print(c)
# comment on post
d=bot.comment('URL')
print(d)
# comment on the recent post of user
e=bot.comment_recent('USERNAME')
print(e)
# follow the user
f=bot.follow('USERNAME')
print(f)
# unfollow the user
g=bot.unfollow('USERNAME')
print(g)
# send story view to user
h=bot.story_view('USERNAME')
print(h)
# vote story poll
i=bot.story_poll('USERNAME') # by default poll vote is setted to random
print(i)
j=bot.story_poll('USERNAME', poll_vote=1) # poll_vote can only be 0 or 1
print(j)
# send response to story question sticker
k=bot.story_question('USERNAME') # by default question response is setted to random
print(k)
l=bot.story_question('USERNAME', question_response="wht's up dude ?")
print(l)
# swipe the story slider
m=bot.story_slider('USERNAME') # by default slider value is setted to random
print(m)
n=bot.story_slider('USERNAME', slider_value=55) # slider_value can only be between 0 and 100
print(n)
# answer the story quiz
o=bot.story_quiz('USERNAME') # by default quiz answer is setted to random
print(o)
p=bot.story_quiz('USERNAME', quiz_answer=2)
print(p)
# interact with all types of stories
q=bot.intaract_with_stories('USERNAME') # by default all values are setted to random
print(q)
r=bot.intaract_with_stories('USERNAME', poll=True, quiz=True, slider=True, question=True, poll_vote='random', quiz_answer='random',question_response='random', slider_value='random') # default values
print(r)
# upload post
s=bot.upload_post('photo.jpg', caption='Sample Photo')
print(s)
# upload story
t=bot.upload_story('story.jpg')
print(t)
License
Free Software, Hell Yeah!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
myigbot-0.2.2.tar.gz
(12.5 kB
view hashes)
Built Distribution
myigbot-0.2.2-py3-none-any.whl
(11.4 kB
view hashes)