Skip to main content

For accessing info of both public and private instagram accounts

Project description

Hi! this is my first pip package so sorry if its rough around the edges,

The better_instagram package is an 'API like' package used to get information about a users account on instagram(even if they're private)

I say 'API like' because its technically not an API at all although I structured it like one, in reality it acts like a bunch of webscraping macros which is running in the background(don't tell the feds).

More functions coming soon which will make this more powerful than public account APIs.

Hope you enjoy! and feel free to message me if u have feedback.

github: oyas4572

email: third4572@gmail.com

discord: tms#472

pypi: oyas

note: chrome is needed for this package(driver will come with the package)

Usage

from better_instagram import better_instagram as bi

Documentation

login(username,password):

Activates browser and logs you in to access private accounts

login(username="leomessi",password="Goat1234")

getuser(username):

Accesses a user's account and extracts their basic information,(returns a dictionary). You can use this function without logging in but Instagram may force a login on smaller or private accounts.

print(getuser("leomessi"))
{'username': 'leomessi', 'name': 'Leo Messi', 'biography': 'Bienvenidos a la cuenta oficial de Instagram de Leo Messi / Welcome to the official Leo Messi Instagram account', 'posts': '731', 'followers': '224m', 'following': '236', 'is_verified': True, 'website': 'messi.com', 'are_you_following': True, 'url': 'https://www.instagram.com/leomessi/'}

ChangeLog

0.2 (WIP)

  • Converting to class to remove global variables.
  • Adding getposts(), getfollowers() and getfollowing()

0.1 (30-06-2021)

  • Can access basic account information for both private and public instagram accounts

ily if u read this far.

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

better_instagram-0.0.1.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

better_instagram-0.0.1-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

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