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_captionwhich 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file InstagramGraphQL-1.0.11.tar.gz.
File metadata
- Download URL: InstagramGraphQL-1.0.11.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.11.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ffbb3a83bf4dd0f20990e398657f06d1d2bcf07c137d3ff287250b97f7b2dea
|
|
| MD5 |
765d4532b4ac6e4797dd187635db973d
|
|
| BLAKE2b-256 |
4635f545fd0aa24a63f8e544c46bcac7321eeb99638e515e80edd27048edb291
|
File details
Details for the file InstagramGraphQL-1.0.11-py3-none-any.whl.
File metadata
- Download URL: InstagramGraphQL-1.0.11-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.11.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe18584468ba90a997999c5929d9461558040f069dc97ea56990c22ab70dec8e
|
|
| MD5 |
1c943ea6305a24bbcf11952420df358d
|
|
| BLAKE2b-256 |
d938e6703ee057d3a78af657958e8afa1b8b32a6655cae9663dd7265a62528a4
|