Metadata-Version: 2.1
Name: InstagramGraphQL
Version: 1.0.8
Summary: InstagramGraphQL Unoffical API
Home-page: https://github.com/technerium/InstagramGraphQL
Author: Technerium
Author-email: technerium@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: SmoothAPI

# 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](https://github.com/LevPasha/Instagram-API-python) package.

### Getting all media of a user
```python
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](https://github.com/FKLC/IGQL/wiki).


