| Name | customgpt-client JSON |
| Version |
1.2.7
JSON |
| download |
| home_page | None |
| Summary | A client library for accessing customgpt |
| upload_time | 2024-10-16 17:07:29 |
| maintainer | None |
| docs_url | None |
| author | None |
| requires_python | <4.0,>=3.8 |
| license | None |
| keywords |
|
| VCS |
|
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
# 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
```
Raw data
{
"_id": null,
"home_page": null,
"name": "customgpt-client",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8",
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/b8/8b/616ebb6158bd2c0620faee57435d93163b6d408aaff8bcaf9518ebcfcfa4/customgpt_client-1.2.7.tar.gz",
"platform": null,
"description": "# CustomGPT SDK\n\n## Usage\nFirst, create a client:\n\n```python\nfrom customgpt_client import CustomGPT\n\nCustomGPT.api_key=\"SuperSecretToken\"\n```\n\nNow you can access to all of our Models:\nExample Request will be like this:\n\nCreating a Project synchronously:\n\n```python\nresponse = CustomGPT.Project.create(project_name='Test', sitemap_path='https://example.com/test.xml', file_data_retension=False, file=file)\nproject_id = response.data.id\n```\n\nOr do the same thing with an async version:\n\n```python\nresponse = await CustomGPT.Project.acreate(project_name='Test', sitemap_path='https://example.com/test.xml', file_data_retension=False, file=file)\nproject_id = response.data.id\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "A client library for accessing customgpt",
"version": "1.2.7",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1bb7798e9476d80a8d841f7ac71efe07197b7e6936366c8f24ddd6b58d26ce99",
"md5": "dc9ecd92bdd4201a1c56f8b1d722ee3c",
"sha256": "72cc39062bfc05147b7c833e730caffcd58af2eaf470d56274b6936633a8a4cb"
},
"downloads": -1,
"filename": "customgpt_client-1.2.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "dc9ecd92bdd4201a1c56f8b1d722ee3c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8",
"size": 663895,
"upload_time": "2024-10-16T17:07:27",
"upload_time_iso_8601": "2024-10-16T17:07:27.367362Z",
"url": "https://files.pythonhosted.org/packages/1b/b7/798e9476d80a8d841f7ac71efe07197b7e6936366c8f24ddd6b58d26ce99/customgpt_client-1.2.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b88b616ebb6158bd2c0620faee57435d93163b6d408aaff8bcaf9518ebcfcfa4",
"md5": "5cce1c536603633dc1b2521dc24ffb3f",
"sha256": "10ed841b78294fce108bbea7f51f33566f88e08f88cff706d48c43ae9b14bde8"
},
"downloads": -1,
"filename": "customgpt_client-1.2.7.tar.gz",
"has_sig": false,
"md5_digest": "5cce1c536603633dc1b2521dc24ffb3f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8",
"size": 158022,
"upload_time": "2024-10-16T17:07:29",
"upload_time_iso_8601": "2024-10-16T17:07:29.659941Z",
"url": "https://files.pythonhosted.org/packages/b8/8b/616ebb6158bd2c0620faee57435d93163b6d408aaff8bcaf9518ebcfcfa4/customgpt_client-1.2.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-16 17:07:29",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "customgpt-client"
}