Metadata-Version: 2.1
Name: customgpt-client
Version: 1.1.6
Summary: A client library for accessing customgpt
Requires-Python: >=3.8,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: attrs (>=21.3.0)
Requires-Dist: python-dateutil (>=2.8.0,<3.0.0)
Requires-Dist: requests (==2.31.0)
Requires-Dist: sseclient-py (==1.7.2)
Description-Content-Type: text/markdown

# CustomGPT SDK

## Usage
First, create a client:

```python
from customgpt_client import CustomGPT

CustomGPT.api_key="SuperSecretToken"
```

Now you can access to all of our Models:
Example Request will be like this:

Creating a Project synchronously:

```python
response = CustomGPT.Project.create(project_name='Test', sitemap_path='https://example.com/test.xml', file_data_retension=False, file=file)
project_id = response.data.id
```

Or do the same thing with an async version:

```python
response = await CustomGPT.Project.acreate(project_name='Test', sitemap_path='https://example.com/test.xml', file_data_retension=False, file=file)
project_id = response.data.id
```

