gooddata_sdk.client.GoodDataApiClient

class gooddata_sdk.client.GoodDataApiClient(host: str, token: str, custom_headers: Optional[dict[str, str]] = None, extra_user_agent: Optional[str] = None)

Bases: object

Provide access to metadata and afm services.

__init__(host: str, token: str, custom_headers: Optional[dict[str, str]] = None, extra_user_agent: Optional[str] = None) None

Take url, token for connecting to GoodData.CN.

HTTP requests made by this class may be enriched by custom_headers dict containing header names as keys and header values as dict values.

extra_user_agent is optional string to be added to default http User-Agent header. This takes precedence over custom_headers setting.

Methods

__init__(host, token[, custom_headers, ...])

Take url, token for connecting to GoodData.CN.

Attributes

afm_client

metadata_client

scan_client