142

GitHub - LevPasha/Instagram-API-python: Unofficial instagram API, give you acces...

 4 years ago
source link: https://github.com/LevPasha/Instagram-API-python
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

Instagram-API-python

68747470733a2f2f696d672e736869656c64732e696f2f62616467652f537570706f727425323070726f6a6563742d70617970616c2d627269676874677265656e2e737667 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f43253233253230496e737461426f742d76312e302d626c75652e737667 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f707974686f6e253230496e737461426f742d76312e302e312d626c75652e737667 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f495344422e70772d667265652d707572706c652e737667

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 unverified phone number after ~ 1-24 hours could not do any requests. All requests will be redirected to the page https://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 examples\test.py with your own username and password

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

Pip Installation Instructions

  1. Install via pip

    pip install InstagramApi

    or

    py -m install InstagramApi

  2. Import InstagramAPI from a python command prompt

    from InstagramAPI import InstagramAPI


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK