<h1 align="center">INSTAGRAM SPY</h1>
<p align="center">
<a href="https://choosealicense.com/licenses/mit/"> <img src="https://img.shields.io/badge/License-MIT-green.svg"></a>
<a href="https://www.python.org/"><img src="https://img.shields.io/pypi/pyversions/instaspy"></a>
<a href="https://pypi.org/project/instaspy/"> <img src="https://img.shields.io/pypi/v/instaspy"></a>
<a href="https://github.com/jepluk/instaspy/commits"> <img src="https://img.shields.io/github/last-commit/jepluk/instaspy"></a>
</p>
## instalation
```bash
pip install instaspy
```
## features
click this link to view the [documentation ](https://github.com/jepluk/instaspy/blob/6f54afc86ee7cb7a8b34a37cb708f2436c1ef93c/instaspy/docs/DOCS.md)
- Login Using Cookie.
- retrieve user information.
-
## example
get cookies using this [extension](https://chromewebstore.google.com/detail/get-cookies/hdablekeodiopcnddiamhahahkiiloph)
```python
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](https://saweria.co/meizugxyz)
Raw data
{
"_id": null,
"home_page": "https://github.com/jepluk/instaspy",
"name": "InstaSpy",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "instagram api library",
"author": "Ivan Firmansyah",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/b3/5e/d6ab7ac2cecf65dabac669e3e221a93d2f8f7805b6706683a0e4d9b2f020/instaspy-1.0.3.tar.gz",
"platform": null,
"description": "<h1 align=\"center\">INSTAGRAM SPY</h1>\n\n<p align=\"center\">\n<a href=\"https://choosealicense.com/licenses/mit/\"> <img src=\"https://img.shields.io/badge/License-MIT-green.svg\"></a>\n<a href=\"https://www.python.org/\"><img src=\"https://img.shields.io/pypi/pyversions/instaspy\"></a>\n<a href=\"https://pypi.org/project/instaspy/\"> <img src=\"https://img.shields.io/pypi/v/instaspy\"></a>\n<a href=\"https://github.com/jepluk/instaspy/commits\"> <img src=\"https://img.shields.io/github/last-commit/jepluk/instaspy\"></a>\n</p>\n\n## instalation\n```bash\npip install instaspy\n```\n\n## features\nclick this link to view the [documentation ](https://github.com/jepluk/instaspy/blob/6f54afc86ee7cb7a8b34a37cb708f2436c1ef93c/instaspy/docs/DOCS.md)\n\n- Login Using Cookie.\n- retrieve user information.\n- \n## example\nget cookies using this [extension](https://chromewebstore.google.com/detail/get-cookies/hdablekeodiopcnddiamhahahkiiloph)\n```python\nPython 3.12.11 (main, Jun 9 2025, 15:36:10) [Clang 18.0.3 (https://android.googlesource.com/toolchain/llvm-project d8003a456 on linux\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n\n# import library\n>>> from instaspy import Instagram\n# login using cookie\n>>> 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\"')\n\n# take your Instagram account name\n>>> ig.name\n'Ivan Firmansyah'\n# get your Instagram account username\n>>> ig.username\n'ivanfmh15'\n# get your Instagram account ID\n>>> ig.id\n'65122884339'\n# take all your Instagram data\n# change username to view other people's account information\n>>> ig.user_data(ig.username)\n{'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': []}\n```\n## support\nhelp me to be enthusiastic about developing and learning new codes with a small donation hehe.\n\n[saweria](https://saweria.co/meizugxyz)\n",
"bugtrack_url": null,
"license": null,
"summary": "Library Python untuk Instagram",
"version": "1.0.3",
"project_urls": {
"Homepage": "https://github.com/jepluk/instaspy"
},
"split_keywords": [
"instagram",
"api",
"library"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "f9bfe9751ee5937ca34e5229bfb9f91a34b776f95404765866a504e55021d1c4",
"md5": "788b4d4639e8aeb1c7030b8b09b965d9",
"sha256": "49bd093b1d15d08550f6860bd0f803b9e9f25f1aec5b085b5d584801429a6ff6"
},
"downloads": -1,
"filename": "instaspy-1.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "788b4d4639e8aeb1c7030b8b09b965d9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 4672,
"upload_time": "2025-07-27T14:51:07",
"upload_time_iso_8601": "2025-07-27T14:51:07.932503Z",
"url": "https://files.pythonhosted.org/packages/f9/bf/e9751ee5937ca34e5229bfb9f91a34b776f95404765866a504e55021d1c4/instaspy-1.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "b35ed6ab7ac2cecf65dabac669e3e221a93d2f8f7805b6706683a0e4d9b2f020",
"md5": "61c8e333dec61950fdd4dd55e476b167",
"sha256": "acdd3a2b1a56613d1aae5cf8d4a2e2135567c28671f760d89108456cd9445a40"
},
"downloads": -1,
"filename": "instaspy-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "61c8e333dec61950fdd4dd55e476b167",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 4301,
"upload_time": "2025-07-27T14:51:09",
"upload_time_iso_8601": "2025-07-27T14:51:09.216513Z",
"url": "https://files.pythonhosted.org/packages/b3/5e/d6ab7ac2cecf65dabac669e3e221a93d2f8f7805b6706683a0e4d9b2f020/instaspy-1.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-27 14:51:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jepluk",
"github_project": "instaspy",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "requests",
"specs": []
}
],
"lcname": "instaspy"
}