Skip to main content

InstagramGraphQL Unofficial API

Project description

End of support

According to this issue [#1]https://github.com/FKLC/IGQL/issues/1) Instaloader is already doing what this library does so why reinvent the wheel while it exists also I'm so sorry about wasting your time using this library instead of Instaloader it is much better than IGQL. @ogencoglu actually created issue about it but I think when I checked the source of Instaloader I accidentally typed something else instead of graphql. Also as you can guess I'm not going to document new API change but I'll upload new version to PyPI so if still want to use this library you should run pip install igql==1.1.0 to use old documented version.

InstagramGraphQL Unofficial API

Unofficial Instagram GraphQL API to collet data without authentication.

Features

  • Search for people, hashtags and locations
  • Get media data
  • Get hashtag data
  • Get location data
  • Get all comments
  • Get all likes
  • Get specific user posts
  • With sessionid supplied you can get data from private accounts
  • There is a lot of cool data returned by GraphQL. For example accessibility_caption which you can train your image classifier through it
NOTE: This is basically a API to collet data not for uploading or interacting with media. If you want more advanced IG library you should check LevPasha's Instagram-API-python package.

Getting all media of a user

from igql import InstagramGraphQL


igql_api = InstagramGraphQL()

user = igql_api.get_user('instagram')
for media in user.timeline():
    print(media)

Installation

Library is avaible on PyPi so just run

pip install igql==1.1.0

To learn more check wiki page.

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 igql, version 1.1.1
Filename, size File type Python version Upload date Hashes
Filename, size igql-1.1.1-py3-none-any.whl (8.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size igql-1.1.1.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page