Get in touch
Get in touch

Client

Client(project_name, api_key, client_id, client_secret, batch_size, service_url)

Low-level HTTP client for the DataGraphs REST API. Handles authentication, pagination, and batched writes.
Properties
NameTypeDescription
DEFAULT_BATCH_SIZEint100
DEFAULT_WAIT_TIME_MSint200
project_namestr
wait_time_msintThe current wait time in milliseconds between paginated requests
Properties
NameTypeAttributesDefaultDescription
project_namestrName of the project.
api_keystrAPI key for authentication.
client_idstr<optional>''OAuth client ID (required for write operations).
client_secretstr<optional>''OAuth client secret (required for write operations).
batch_sizeint<optional>100Number of items to process in each batch.
service_urlstr<optional>'https://api.datagraphs.io/'Base URL for the API service.