Skip to main content

Class for use https://instagram.com

Install

pip install python-api-instagram

Example

from python_api_instagram.instagramAPI import instagramAPI

access_token = '3403089465.260c1aa.b09a16*03c24435880d3fe195*f8f156'

instagram = instagramAPI(access_token)

print instagram.users_self()

print instagram.users_detail(3403089465)

print instagram.users_self_media_liked()

print instagram.followed_by()

print instagram.follows_self()

print instagram.media_self_recent()

print instagram.media('1306717096452924663_3403089465')

print instagram.actions_relationship(3403089465, 'follow')

print instagram.relationship(3403089465)

print instagram.requested_by()

print instagram.followed_by()

print instagram.follows()

print instagram.locations(514276)

print instagram.locations_media_recent(514276)

print instagram.locations_search(37.77493, -122.419415)

License

MIT

Metadata

Release files for python-api-instagram 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-api-instagram 0.0.7
File Size Uploaded Provenance Actions
python-api-instagram-0.0.7.tar.gz 1.7 kB Without provenance Details for python-api-instagram-0.0.7.tar.gz

Release files / python-api-instagram-0.0.7.tar.gz

Download URL python-api-instagram-0.0.7.tar.gz
Size 1.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f890ad27faa49d79bc6d808701b75a62670fa96a4ec5684bff9e2c6fa5131a70
BLAKE2b-256 checksum
How to use checksums
8f6fe8ba153fc005d498b0d308e3097e936e700af2060ffb30eb80019da2bdbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for python-api-instagram 0.0.7

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page