Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ig-web-api, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size ig-web-api-1.0.0.tar.gz (1.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page