Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/midnightsuyama/instagram-explore
instagram scrapping module
https://github.com/midnightsuyama/instagram-explore
Last synced: about 1 month ago
JSON representation
instagram scrapping module
- Host: GitHub
- URL: https://github.com/midnightsuyama/instagram-explore
- Owner: midnightSuyama
- Created: 2016-08-21T17:34:23.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-15T15:11:12.000Z (almost 7 years ago)
- Last Synced: 2024-08-11T09:47:48.607Z (4 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 15
- Watchers: 3
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
=================
instagram-explore
=================.. image:: https://travis-ci.org/midnightSuyama/instagram-explore.svg?branch=master
:target: https://travis-ci.org/midnightSuyama/instagram-explore.. image:: https://badge.fury.io/py/instagram-explore.svg
:target: https://badge.fury.io/py/instagram-exploreinstagram scrapping module
------------
Installation
------------::
$ pip install instagram-explore
-----
Usage
-----User
====.. code-block:: python
import instagram_explore as ie
# Search user name
res = ie.user('instagram')
print(res.data)# Next page
data, cursor = ie.user('instagram', res.cursor)# Image only
images = ie.user_images('instagram').dataTag
===.. code-block:: python
import instagram_explore as ie
# Search tag name
res = ie.tag('cat')
print(res.data)# Next page
data, cursor = ie.tag('cat', res.cursor)# Image only
images = ie.tag_images('cat').dataLocation
========.. code-block:: python
import instagram_explore as ie
# Search location id
res = ie.location('7226110')
print(res.data)# Next page
data, cursor = ie.location('7226110', res.cursor)# Image only
images = ie.location_images('7226110').dataMedia
=====.. code-block:: python
import instagram_explore as ie
# Search media code
res = ie.media('BFRO_5WBQfc')
print(res.data)# Image only
image = ie.media_image('BFRO_5WBQfc').data