INSTAGRAM API AUTOMATION
🧩 Table of contents
Lorem ipsum anget banget sama bang jali versi docx sesuai dengan windows 10 ya kak pas co Ltd PT Bank mandiri Bank terbaik di dunia ini.
- Login
- User information
- Automation
- Scraping
Installation
pip install InstaPy
or using git
pip install git+ttps://github.com/ivan732/InstaPy
Login using cookie
from InstaPy import Instagram
cookie = 'your instagram cookie string'
ig = Instagram(cookie=cookie)
Retrieving account information
print(ig.name) # your instagram name
print(ig.username) # your instagram username
print(ig.id) # your instagram id
Automation
Like
from InstaPy import Instagram
from InstaPy.automation import Automation
cookie = 'your instagram cookie string'
ig = Instagram(cookie=cookie)
post_id = '3829...'
automation = Automation(session=ig)
actions = automation.like(post_id=post_id)
print(actions) # output: Type[dict]
print(actions.status) # output: True/False
Scraping
Timeline Post
from InstaPy import Instagram
from InstaPy.scraping import Scraping
cookie = 'your instagram cookie string'
ig = Instagram(cookie=cookie)
scrape = Scraping(session=ig)
actions = scrape.timeline_post()
print(actions) # output: Type[dict] ex: {'status': Type[bool], 'data': Type[dict]}
Metadata
Release files for igthon 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| igthon-1.0.0.tar.gz | 5.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| igthon-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.2 kB
Release files / igthon-1.0.0.tar.gz
| Download URL | igthon-1.0.0.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06a1a312a53a68f00d0842d6a93b25356d645fd2826b673b544b7f973cd7eb37
|
|
BLAKE2b-256 checksum How to use checksums |
5109677e23378da97b441a5cbe07fcb3f41ff51600e3391cc3ee63f3541dc66c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|
Release files / igthon-1.0.0-py3-none-any.whl
| Download URL | igthon-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3f444549f063d5d3e56428e44693ea02c0f5bb8eefb879fae6908a5edfb2ce4
|
|
BLAKE2b-256 checksum How to use checksums |
d284bd35430b9f48df28afd6daca28147ebdce6642849dcd700d61dc2b32cb71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|
Security for igthon 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.