/InstaGPy

InstaGPy is an Instagram Unofficial API to extract data from Instargam Profiles. Scrape data from user's profile like username, userid, bio, email, phone, followers/followings list, profile media, account_type, etc.

Primary LanguagePythonMIT LicenseMIT

InstaGPy

Overview

InstaGPy is an Instagram Unofficial API to extract data from Instargam Profiles. Scrape data from user's profile like username, userid, bio, email, phone, followers/followings list, profile media, account_type, etc.

Note : Use it on Your Own Risk. Scraping with Residential proxies is advisable while extracting data at scale/in bulk. If possible, use multiple accounts to fetch data from Instagram. DON'T USE YOUR PERSONAL ACCOUNT FOR SCRAPING PURPOSES.

Installation

Install InstaGPy with pip

  pip install instagpy

Usage/Examples

python quickstart.py

OR

from instagpy import InstaGPy

InstaGPy(use_mutiple_account=False, session_ids=None, min_requests=None, max_requests=None)

Example - Get Basic User Details of a User

from instagpy import InstaGPy

insta = InstaGPy()

insta.get_user_basic_details('champagnepapi',pretty_print=True)

Documentation

Check out step by step guide.

Documentation

Configuration

Example - Config Usage

from instagpy import config

config.PROXY = {"http":"127.0.0.1","https":"127.0.0.1"}
config.TIMEOUT = 10

Check out configuration docs for the available settings.

Configurations

Features

  • Extracts User's Followers
  • Extracts User's Followings
  • Extracts User's Profile Details along with Contact Details (Phone, WhatsApp, Email & Address)
  • Extracts Instagram Profile Media

Authors

Feedback

If you have any feedback, please reach out to us at hello@sarabjitdhiman.com or contact me on Social Media @iSarabjitDhiman

Support

For support, email hello@sarabjitdhiman.com