It is a useful project for developers that includes useful tools for Instagram
pip install InstagramIG
from InstagramIG import SidraELEzz
username = "<your email or phone or username>"
password ="<your password >"
Logan = SidraELEzz.Instalogin(str(username),str(password))
if Logan ==True:
print ("login successful")
elif Logan ==False:
print("Error account is security")
elif deta ==None:
print("Error account is bad")
from InstagramIG import SidraELEzz
username = "< username >"
followers = SidraELEzz.followers(str(username))
print (followers)
from InstagramIG import SidraELEzz
username = "< username >"
following = SidraELEzz.following(str(username))
print (following)
from InstagramIG import SidraELEzz
username = "< username >"
post = SidraELEzz.posts(str(username))
print (post)
from InstagramIG import SidraELEzz
username = "< username >"
id = SidraELEzz.id(str(username))
print (id)
from InstagramIG import SidraELEzz
username = "< username >"
name = SidraELEzz.name(str(username))
print (name)
from InstagramIG import SidraELEzz
username = "< username >"
data = SidraELEzz.data(str(username))
print (data)
from InstagramIG import SidraELEzz
username = "<your email or phone >"
password ="<your password >"
Logan = SidraELEzz.Instalogin(str(username),str(password))
if Logan ==True:
sessionid = 'sessionid.txt'
file = open(sessionid, "r").readline().split('\n')[0]
username = SidraELEzz.username(str(file))
print ("login successful")
print(username)
followers = SidraELEzz.followers(str(username))
print (followers)
following = SidraELEzz.following(str(username))
print (following)
post = SidraELEzz.posts(str(username))
print (post)
ID = SidraELEzz.id(str(username))
print (ID)
name = SidraELEzz.name(str(username))
print(name)
deat = SidraELEzz.data(str(username))
print (deat)
elif Logan ==False:
print("Error account is security")
elif Logan ==None:
print("Error account is bad")