Unofficial Instagram API to give you access to ALL Instagram features (like, follow, upload photo and video, etc)! Written in Python.
This is the Python port of https://github.com/mgp25/Instagram-API which is written in PHP. It is still a work in progress to copy all of its API endpoints.
-
Fork/Clone/Download this repo
git clone https://github.com/LevPasha/Instagram-API-python.git
-
Navigate to the directory
cd Instagram-API-python
-
Install the dependencies
pip install -r requirements.txt
-
Modify test.py with your own username and password
-
Run the test script (use text editor to edit the script and type in valid Instagram username/password)
python test.py
-
login;
-
tagFeed (TODO);
-
like;
-
comment;
-
deleteComment;
-
expose;
-
logout;
-
editMedia;
-
removeSelftag;
-
mediaInfo;
-
deleteMedia;
-
getv2Inbox (TODO);
-
getRecentActivity (TODO);
-
megaphoneLog;
-
timelineFeed;
-
autoCompleteUserList;
-
syncFeatures;
-
removeProfilePicture;
-
setPrivateAccount;
-
setPublicAccount;
-
getProfileData;
-
editProfile;
-
getUsernameInfo;
-
getSelfUsernameInfo;
-
getFollowingRecentActivity (TODO);
-
getUserTags (TODO);
-
getSelfUserTags;
-
getMediaLikers (TODO);
-
getGeoMedia (TODO);
-
getSelfGeoMedia;
-
fbUserSearch (TODO);
-
searchUsers (TODO);
-
searchUsername (TODO);
-
syncFromAdressBook;
-
searchTags (TODO);
-
getTimeline (TODO);
-
searchLocation (TODO);
-
getSelfUserFeed;
-
getPopularFeed (TODO);
-
getUserFollowings;
-
getUserFollowers;
-
getSelfUserFollowers;
-
getSelfUsersFollowing;
-
unlike;
-
getMediaComments;
-
setNameAndPhone;
-
getDirectShare;
-
follow;
-
unfollow;
-
block;
-
unblock;
-
userFriendship;
-
getLikedMedia;
-
uploadPhoto;
-
changeProfilePicture;
-
uploadVideo;
-
direct_share;
-
configureVideo;
-
configure;
-
getUserFeed;
-
getHashtagFeed;
-
getLocationFeed;
-
backup;
-
buildBody;
If you want to help - write what you want to do. In other cases, you can do the exact same work with another assistant or me.