semvec/pypi-packages huggingface dataset:
instagraph 0.0.2
Instagram Unofficial SDK
License: MIT
Keywords: Instagram,SDK

## Install
- Clone the repository
`git clone git@github.com:manuelfedele/instagraph.git`
- Install requirements `pip install -r requirements.txt`

# Samples
The api just extract shared data included in every Instagram request.
- Get user data 
```python
from instagraph import API
from pprint import pprint
api = Instagraph()
response = api.get_user('elonrmuskk')
pprint(response)
{'biography': '',
 'blocked_by_viewer': False,
 'business_category_name': None,
 'category_id': None,
 'connected_fb_page': None
 # ...
}
```

- Get medias from hashtag
`api.get_hashtag_feed('puppy')`
- Get media info by shortcode
`api.get_media('B6Vs_JMnhb0')`

Some useful handlers are provided
- Get medias from hashtag (using HashtagFeed class) and pagination handling
```python
from instagraph import HashtagFeed
feed = HashtagFeed('puppy')

# Going to next page
feed.next_page()
```

- Get profile infos (using Profile class) by username
```python
from instagraph import Profile
musk = Profile('elonrmuskk')

print(musk.username)     # elonrmuskk
print(musk.followers)    # 670792
print(musk.following)    # 43
print(musk.medias_count) # 144
print(musk.is_verified)  # False
```
pymode 1.3.0
A python client for typed interactions with the Mode Analytics API.
License: MIT
Requires Python: >=3.6
Keywords: mode analytics python

# pymode
[![PyPI version](https://badge.fury.io/py/pymode.svg)](https://badge.fury.io/py/pymode)
![PyPI - Status](https://img.shields.io/pypi/status/pymode)
[![Build Status](https://travis-ci.com/goodeggs/pymode.svg?branch=master)](https://travis-ci.com/goodeggs/pymode.svg?branch=master)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pymode)
![PyPI - License](https://img.shields.io/pypi/l/pymode)

PyMode is a Python 3.x library to enable typed interactions with the [Mode Analytics v2 API](http://developer.modeanalytics.com/).

### Installation

```bash
$ pip install pymode
```

### Example Usage

```python
import os
from pymode import Mode

ORGANIZATION = os.environ["MODE_ORGANIZATION"]
TOKEN = os.environ["MODE_API_TOKEN"]
PASSWORD = os.environ["MODE_API_PASSWORD"]

mode = Mode(organization=ORGANIZATION, token=TOKEN, password=PASSWORD)
```