Main API Module

This is the main API module that provides the core functionality for interacting with the DataMint API.

class datamint.api.client.Api(server_url=None, api_key=None, timeout=60.0, max_retries=2, check_connection=True)

Bases: object

Main API client that provides access to all endpoint handlers.

Parameters:
  • server_url (str | None)

  • api_key (str | None)

  • timeout (float)

  • max_retries (int)

  • check_connection (bool)

DATAMINT_API_VENV_NAME = 'DATAMINT_API_KEY'
DEFAULT_SERVER_URL = 'https://api.datamint.io'
property annotations: AnnotationsApi
property annotationsets: AnnotationSetsApi
property channels: ChannelsApi
check_connection()
property models: ModelsApi
property projects: ProjectsApi
property resources: ResourcesApi
property users: UsersApi