Skip to main content

Simple & Up-to-date Instagram API

Project description

Ensta

This package lets you use Instagram's Internal API (Web API) through simple methods and classes.

It supports two type of classes - "Guest" and "Host"

"Buy me a coffee"

Installation

Open a terminal window and run this command:

pip install ensta

Guest Mode

It doesn't require any type of login and can be used to fetch publicly available data like Profile Information, Username Availability etc.

from ensta import Guest

guest = Guest()
biography = guest.get_biography("username")

print(biography)

Host Mode

It requires login and can be used to manage your account or fetch information not available without logging in.

from ensta import Host

sessionid = "12345678:abcdefgh"

host = Host(sessionid)
result = host.follow_username("username")

print(result)

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

ensta-0.9.tar.gz (7.0 kB view details)

Uploaded Source

File details

Details for the file ensta-0.9.tar.gz.

File metadata

  • Download URL: ensta-0.9.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for ensta-0.9.tar.gz
Algorithm Hash digest
SHA256 2b7421793a847c9588cbd94118f147ec373d619b6212f4d2e76084bafc357eea
MD5 1d6f83cdc69398e8a3875a58c6509c61
BLAKE2b-256 9d0b4080c328d9d7850d3e49e12bfee8b74c916012919a65a6bd87138c8cc615

See more details on using hashes here.

Provenance

Supported by

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