semvec/pypi-packages huggingface dataset:
tigereye-api 0.0.6
Package to easily authenticate and run requests with TigerEye's API
Keywords: python,API,tigereye,requests

# TigerEye-API
A package to allow you to authenticate with TigerEye's API
to easily run GET, POST & DELETE requets with helper functions
for data modelling tasks

## API Authenitcation
```python
from tigerye_api import tigereye

username = ''
password = ''
userid = ''
tigereye_url = ''

te = tigereye(username, password, userid, tigereye_url)
```

## GET Request
```python
portfolio_id = 1
te.get(f'/v1/api/Portfolio/{portfolio_id}')
```

## Post Request
```python
data = {
    "name": "string",
    "tags": [
        "string"
    ]
}
te.post(f'/v1/api/Portfolio/filter', data)
```

## Upload Loss File
```python
loss_file_path 'home/loss_file.csv'
data = {
    'name': 'test.csv'
    'modelId': 0,
    ...
}
te.upload_loss_file(loss_file_path, data)
```