This repository has been archived by the owner on Oct 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
Home
danleyb2 edited this page May 17, 2016
·
1 revision
Instagram Legal | Setup Guide | Technical Documentation |
---|---|---|
Instagram EULA | Dependencies | Technical info. |
Instagram Legal also known as EULA. Contains all terms and conditions. | All the things you need to make Instagram Python works | Detailed technical documentation about how Instagram works. |
-
username
: Instagram's username -
password
: Instagram's password -
debug
: Debug mode (Optional) -
IGDataPath
: Custom data storage path (Optional)
from src.Instagram import Instagram
insta = Instagram(username, password);
from src.Instagram import Instagram
insta = Instagram(username, password, debug = False, IGDataPath = None);
Notes:
usernameId
is not the username, it's an id (numeric)
All data returned is an object
login()
logout()
uploadPhoto(photo, caption = None)
uploadVideo(video, caption = None)
editMedia(mediaId, captionText = "")
deleteMedia(mediaID)
changeProfilePicture(photo)
removeProfilePicture()
setPrivateAccount()
setPublicAccount()
editProfile(url, phone, first_name, biography, email, private)
getUsernameInfo(usernameId)
getSelfUsernameInfo()
getRecentActivity()
getv2Inbox()
getUserTags(usernameId)
getSelfUserTags()
getGeoMedia(usernameId)
getSelfGeoMedia()
fbUserSearch(query)
searchUsers(query)
searchTags(query)
getTimeline()
getUserFeed(usernameId)
getSelfUserFeed()
getPopularFeed()
getUserFollowers(usernameId)
getSelfUserFollowers()
getUsersFollowing()
like(mediaId)
unlike(mediaId)
getMediaComments(mediaId)
setNameAndPhone(name = "", phone = "")
getDirectShare()
backup()
follow(userId)
unfollow(userId)
block(userId)
unblock(userId)
getLikedMedia()
:)