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.

Source Distribution

ig-web-api-1.0.0.tar.gz (1.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page