Skip to main content

Instagram API logic for user data extraction

Project description

aybIG

aybIG is a Python package for interacting with Instagram APIs to fetch user data. It allows users to easily fetch a user's Instagram profile information by entering the username. The tool automatically retrieves the user ID and additional data such as follower count, media count, account type, and more. developer credits to "dev by @rootsecc."

Features

  • Fetch Instagram user data by username
  • Retrieve user profile information, including:
    • Username
    • Full name
    • User ID
    • Account type (Personal, Business, Creator)
    • Biography and external links
    • Follower count, following count, media count, reels count, etc.
  • "dev by @rootsecc" included in the response for credit

Installation

You can install the package using pip:

set IG_BEARER_TOKEN=.....
pip install aybIG
Usage
To use aybIG to get Instagram user data, simply call the function getinf() with the Instagram username you wish to retrieve information for:


from aybIG import usrinfo


user_data = usrinfo.getinf('instagram_username')


{
    "username": "someusername",
    "full_name": "Some User",
    "user_id": "1234567890",
    "is_private": false,
    "is_verified": true,
    "account_type": "personal",
    "dev_by": "dev by @rootsecc"
}
Requirements
Python 3.6+

Requests library (pip install requests)

A way to generate a user-agent string (e.g., using a custom function or library)

Credits
Developer: @rootsecc

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aybIG-0.1.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file aybIG-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: aybIG-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.7

File hashes

Hashes for aybIG-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f52d5fe8594643a547f30788e612e8127fa4213248957c74d1738ab3af7180ce
MD5 36864ddb29fa25bc78a7e957e04913a3
BLAKE2b-256 6af742f5fdfe7d281b0215e5a37b1b29186eecd94d943e6e1932ef7c7557b7cb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page