Skip to main content

Library Python untuk Instagram

Project description

INSTAGRAM SPY

instalation

pip install instaspy

features

click this link to view the documentation

  • Login Using Cookie.
  • retrieve user information.

example

get cookies using this extension

Python 3.12.11 (main, Jun  9 2025, 15:36:10) [Clang 18.0.3 (https://android.googlesource.com/toolchain/llvm-project d8003a456 on linux
Type "help", "copyright", "credits" or "license" for more information.

# import library
>>> from instaspy import Instagram
# login using cookie
>>> ig = Instagram('datr=N3KAaKEGbz2ZWbEj1K5zzmmB; ig_did=91E41F0C-2704-46A3-ACE3-018E3C0CA9DB; mid=aIByNwABADBD5ss27FyYbViOr9; ps_l=1; ps_n=1; dpr=2.1988937854766846; ig_nrcb=1; csrftokenZQ53Vo5xBaKCJuP5sI3fqJMPxTZ; ds_user_id=65122839; wd=891x1718; sessionid=651228843Rq4qYNrDWiKRwq%3A15%3AAYfVgrOWPZVBT-cJZgGcU3p9jV2W9Bi06cEV0d5ihA; rur="EAG\05465122884339\0541785063859:01fed90bed8c10b2c00728cc712bda49e218140ba1562ecb68e3d16bf2b71fca2b425"')

# take your Instagram account name
>>> ig.name
'Ivan Firmansyah'
# get your Instagram account username
>>> ig.username
'ivanfmh15'
# get your Instagram account ID
>>> ig.id
'65122884339'
# take all your Instagram data
# change username to view other people's account information
>>> ig.user_data(ig.username)
{'username': 'ivanfmh15', 'full_name': 'Ivan Firmansyah', 'biography': '.', 'followers': 760, 'following': 21, 'is_private': True, 'is_verified': False, 'profile_pic_url': 'https://scontent.cdninstagram.com/v/t51.2885-19/475306390_9479437722090101_2305614903739138725_n.jpg?stp=dst-jpg_s320x320_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent.cdninstagram.com&_nc_cat=105&_nc_oc=Q6cZ2QEJYFddVd3edQ8kpLiqYxeq305TYlj-mIAHh4hkBL9VaGhHxjuoax9_C0TViV9qZpY&_nc_ohc=aGhpNu57wsUQ7kNvwGd9CKp&_nc_gid=XssF4u90Nx-ExkK4i5zgdw&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AfQEUtKpJ6nMSB9EFzLZCjlMhELSGr2QFRIUcZJ4QF6kkA&oe=688A7657&_nc_sid=8b3546', 'mutual_followers': []}

support

help me to be enthusiastic about developing and learning new codes with a small donation hehe.

saweria

Project details


Download files

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

Source Distribution

instaspy-1.0.3.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

instaspy-1.0.3-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file instaspy-1.0.3.tar.gz.

File metadata

  • Download URL: instaspy-1.0.3.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for instaspy-1.0.3.tar.gz
Algorithm Hash digest
SHA256 acdd3a2b1a56613d1aae5cf8d4a2e2135567c28671f760d89108456cd9445a40
MD5 61c8e333dec61950fdd4dd55e476b167
BLAKE2b-256 b35ed6ab7ac2cecf65dabac669e3e221a93d2f8f7805b6706683a0e4d9b2f020

See more details on using hashes here.

File details

Details for the file instaspy-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: instaspy-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for instaspy-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 49bd093b1d15d08550f6860bd0f803b9e9f25f1aec5b085b5d584801429a6ff6
MD5 788b4d4639e8aeb1c7030b8b09b965d9
BLAKE2b-256 f9bfe9751ee5937ca34e5229bfb9f91a34b776f95404765866a504e55021d1c4

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