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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file better_instagram-0.0.1.tar.gz
.
File metadata
- Download URL: better_instagram-0.0.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7491724c802e9fb26e3dd9e716fc4ee72e8e9267051392157312ac7fbc55ba40 |
|
MD5 | 45bc4ad84fbe741c1e8a4f018b4ac415 |
|
BLAKE2b-256 | 17de1433ee876eb987a63cfe3e3345b38f61dc899794f928dd8ff53243fcc3d9 |
File details
Details for the file better_instagram-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: better_instagram-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 755ab90a541d081f59b8f80514d97c3c9d93fd472c009158a24612ed88c1aba3 |
|
MD5 | aabd9c440ff20fd03f1e37bd3ee3b01f |
|
BLAKE2b-256 | 74554495e2c864f28c86ae79c6a2070f9d8fdb199021cc51e2fa593bf50559a9 |