Simple Instagram API.
Project description
Instagram-API
Simple Instagram API based on web-version
Example of usage
from ig-web-api import Instagram
a = Instagram()
a.login('USER', 'PASSWORD')
# Get more info about user
print(a.user_info_v2('natgeo'))
# Change profile picture
with open('1.png', 'rb') as f:
print(a.make_new_post(f.read(), 'That\'s, me!'))
# Some another actions
print('Follow natgeo:', a.user_action('natgeo', 'follow'))
print('Saved photo:', a.media_action('B11rEsiHoQp', 'save'))
print('Liked photo:', a.photo_action('B11rEsiHoQp', 'like'))
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
ig-web-api-1.0.0.tar.gz
(1.5 kB
view details)
File details
Details for the file ig-web-api-1.0.0.tar.gz
.
File metadata
- Download URL: ig-web-api-1.0.0.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53d1bfd767a8bccfe626694f5ee789757e5a0aef15d52f9f421136a13731a91d |
|
MD5 | ccd138ed463e537cb64a467a5d7c5658 |
|
BLAKE2b-256 | 544d0107a58f68070723c953c7679a01408dbc3cc58258286441a8122fa602ea |