Giter Site home page Giter Site logo

better_instagram's Introduction

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: [email protected]

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.

better_instagram's People

Contributors

tomasdavola avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.