InstagramIG
It is a useful project for developers that includes useful tools for Instagram
Installation :
pip install InstagramIG
Logan Usage
from InstagramIG import SidraELEzz username = "" 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")
To get the number of followers
from InstagramIG import SidraELEzz
username = "< username >"
followers = SidraELEzz.followers(str(username))
print (followers)
To get the number of following
from InstagramIG import SidraELEzz
username = "< username >"
following = SidraELEzz.following(str(username))
print (following)
To get the number of posts
from InstagramIG import SidraELEzz
username = "< username >"
post = SidraELEzz.posts(str(username))
print (post)
To get the id
from InstagramIG import SidraELEzz
username = "< username >"
id = SidraELEzz.id(str(username))
print (id)
To get the name
from InstagramIG import SidraELEzz
username = "< username >"
name = SidraELEzz.name(str(username))
print (name)
To get the target account creation date
from InstagramIG import SidraELEzz
username = "< username >"
data = SidraELEzz.data(str(username))
print (data)
Log in with a phone number or email with all the information
from InstagramIG import SidraELEzz username = "" 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")