Metadata-Version: 2.1
Name: glif_client
Version: 0.1.0
Summary: A wrapper for the Glif API
Home-page: 
Author: Raphael Vorias
Author-email: raphael@glif.app
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.25.1
Requires-Dist: aiohttp>=3.7.4

# GLIF client

Supports

- api
- async api
- status
- streaming

```python
from glif_api_wrapper.client import GlifAPI

api_token = "your_api_token_here"
glif_api = GlifAPI(api_token)

# option 1
simple_args = ["a happy horse", "living on a farm", "in France"]
response = glif_api.run_glif("clgh1vxtu0011mo081dplq3xs", simple_args)
print(response)

# option 2
named_args = {
    "subject": "a happy horse",
    "actionName": "living on a farm",
    "location": "in France"
  }
response = glif_api.run_glif("clgh1vxtu0011mo081dplq3xs", named_args)
print(response)
```
