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
| Name | Type | Description |
|---|
DEFAULT_BATCH_SIZE | int | 100 |
DEFAULT_WAIT_TIME_MS | int | 200 |
project_name | str | |
wait_time_ms | int | The current wait time in milliseconds between paginated requests |
Properties
| Name | Type | Attributes | Default | Description |
|---|
project_name | str | | | Name of the project. |
api_key | str | | | API key for authentication. |
client_id | str | <optional> | '' | OAuth client ID (required for write operations). |
client_secret | str | <optional> | '' | OAuth client secret (required for write operations). |
batch_size | int | <optional> | 100 | Number of items to process in each batch. |
service_url | str | <optional> | 'https://api.datagraphs.io/' | Base URL for the API service. |