InstagramGraphQL Unoffical API
Project description
Fork of IGQL repo for our needs
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: # This is entry_data not the all media
print(media.image_url)
for media_list in user.iterate_more_timeline_media():
for media in media_list:
print(media.image_url)
Installation
Library is avaible on PyPi so just run
pip install InstagramGraphQL
To learn more check wiki page.
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
InstagramGraphQL-1.0.8.tar.gz
(4.9 kB
view hashes)
Built Distribution
Close
Hashes for InstagramGraphQL-1.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e6be9671bec707640e995a12f253300cc2c8a6a303f86cfabf5568e513bd112 |
|
MD5 | 0be8ff8f364a8e2fd649b3522df4d742 |
|
BLAKE2b-256 | b779a77ebda2d1c9f63fb464b000e77b7cc37101258d82d1368d7bedce845dc0 |