Skip to main content

A client library for accessing customgpt

Project description

CustomGPT SDK

Usage

First, create a client:

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:

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:

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

customgpt_client-1.2.1.tar.gz (117.5 kB view hashes)

Uploaded Source

Built Distribution

customgpt_client-1.2.1-py3-none-any.whl (507.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page