Git Product home page Git Product logo

instagram-api-python's Introduction

Instagram-API-python

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.

NOTE: To successfully parse for a long time you should verify your phone number in your Instagram account. The new fake Instagram account with an unverifird phone number after ~ 1-24 hours could not do any requests. All requests will be redirected to the page instagram.com/challenge

Installation Instructions

  1. Fork/Clone/Download this repo

    git clone https://github.com/LevPasha/Instagram-API-python.git

  2. Navigate to the directory

    cd Instagram-API-python

  3. Install the dependencies

    pip install -r requirements.txt

  4. Modify test.py with your own username and password

  5. Run the test script (use text editor to edit the script and type in valid Instagram username/password)

    python test.py

Pip Installation Instructions

  1. Install via pip

    pip install -e git+https://github.com/LevPasha/Instagram-API-python.git#egg=InstagramAPI

  2. Import InstagramAPI from a python command prompt

    from InstagramAPI import InstagramAPI

Now InstagramAPI.py can:

  1. login;

  2. tagFeed (TODO);

  3. like;

  4. comment;

  5. deleteComment;

  6. expose;

  7. logout;

  8. editMedia;

  9. removeSelftag;

  10. mediaInfo;

  11. deleteMedia;

  12. getv2Inbox (TODO);

  13. getRecentActivity (TODO);

  14. megaphoneLog;

  15. timelineFeed;

  16. autoCompleteUserList;

  17. syncFeatures;

  18. removeProfilePicture;

  19. setPrivateAccount;

  20. setPublicAccount;

  21. getProfileData;

  22. editProfile;

  23. getUsernameInfo;

  24. getSelfUsernameInfo;

  25. getFollowingRecentActivity (TODO);

  26. getUserTags (TODO);

  27. getSelfUserTags;

  28. getMediaLikers (TODO);

  29. getGeoMedia (TODO);

  30. getSelfGeoMedia;

  31. fbUserSearch (TODO);

  32. searchUsers (TODO);

  33. searchUsername (TODO);

  34. syncFromAdressBook;

  35. searchTags (TODO);

  36. getTimeline (TODO);

  37. searchLocation (TODO);

  38. getSelfUserFeed;

  39. getPopularFeed (TODO);

  40. getUserFollowings;

  41. getUserFollowers;

  42. getSelfUserFollowers;

  43. getSelfUsersFollowing;

  44. unlike;

  45. getMediaComments;

  46. setNameAndPhone;

  47. getDirectShare;

  48. follow;

  49. unfollow;

  50. block;

  51. unblock;

  52. userFriendship;

  53. getLikedMedia;

  54. uploadPhoto;

TODO:

  1. changeProfilePicture;

  2. uploadVideo;

  3. direct_share;

  4. configureVideo;

  5. configure;

  6. getUserFeed;

  7. getHashtagFeed;

  8. getLocationFeed;

  9. backup;

  10. 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.

instagram-api-python's People

Contributors

levpasha avatar xecgr avatar ahmdrz avatar dsouzarc avatar ivanychev avatar toxydose avatar howie6879 avatar darland avatar technophilus avatar jansowinski avatar randhipp avatar tjetzinger avatar tudoanh avatar

Watchers

James Cloos avatar Nour Galaby avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.