# View GetStream.io Feed via CLI

## Setup

1. Create virtual environment and install packages
	```
    $ python -m venv env
    $ source env/bin/activate
    $ pip install -r requirements.txt
    ```

## Run
```
$ source env/bin/activate
$ python run.py --type Insights --id 516 --env dev
```
:warning:You will be prompted for GetStream.io credentials if they are not set in your keyring already.
### Help
```
usage: run.py [-h] --id PROFILE_ID --type {Insights,Artist,Label} [-n BATCH_SIZE] --env ENV

optional arguments:
  -h, --help            show this help message and exit
  --id PROFILE_ID       unique profile identifier combined with type (default: None)
  --type {Insights,Artist,Label}
                        profile type combined with id (default: None)
  -n BATCH_SIZE         size of each batch (default: 15)
  --env ENV             environment to set/get GetStream.io credentials for (default: None)
```
