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 hashes)