Services
All services are accessible by class gooddata_sdk.GoodDataSdk
. The class forms an entry-point to the SDK.
To create an instance of GoodDataSdk:
from gooddata_sdk import GoodDataSdk
# GoodData.CN host in the form of uri eg. "http://localhost:3000"
host = "http://localhost:3000"
# GoodData.CN user token
token = "some_user_token"
sdk = GoodDataSdk.create(host, token)
# Now you can start calling services.
# For example, get a list of all workspaces from my GoodData.CN project
workspaces = sdk.catalog_workspace.list_workspaces()
Supported services:
Catalog Workspace: Read, update, create and delete workspaces.
Catalog Workspace Content: Read catalog objects (datasets and metrics) from a workspace.
Catalog Data Source: Read, update, create and delete data sources and read their tables.
Catalog User: Read, update, create and delete user and user groups.
Catalog Permission: Read, update workspace permissions.
Catalog Organization: Update organization name, OIDC parameters.
Insights: Read insights stored in a workspace.
Compute: Drives computation of analytics for GoodData.CN workspaces. Used by higher level services such as the Table service.
Table: Compute and read analytics in typical tabular format.