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.8.tar.gz (160.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

customgpt_client-1.2.8-py3-none-any.whl (673.7 kB view details)

Uploaded Python 3

File details

Details for the file customgpt_client-1.2.8.tar.gz.

File metadata

  • Download URL: customgpt_client-1.2.8.tar.gz
  • Upload date:
  • Size: 160.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.10 Linux/5.15.0-94-generic

File hashes

Hashes for customgpt_client-1.2.8.tar.gz
Algorithm Hash digest
SHA256 8409517ef8115748ab2f15cd7e935ff2e92ffba84cab5ea703f54059a8a70302
MD5 89374223cca5414b0f15b803b0d1beb4
BLAKE2b-256 ec9bb836aaaadda4058fc54e58d9abcdcc798dec95273033ee1095ae75f728ef

See more details on using hashes here.

File details

Details for the file customgpt_client-1.2.8-py3-none-any.whl.

File metadata

  • Download URL: customgpt_client-1.2.8-py3-none-any.whl
  • Upload date:
  • Size: 673.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.10 Linux/5.15.0-94-generic

File hashes

Hashes for customgpt_client-1.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 16c4eaeec58e768baed103a8e8e4facf62e258a25aec13a8f149ec2434149fc6
MD5 e8d07a68db0a4a7069da2d4a7740a504
BLAKE2b-256 57ff8478a2433bde33eaa0c00bcf11867299f8cdaacf47cb4752537136e2215f

See more details on using hashes here.

Supported by

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