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:
gooddata_sdk.catalog_workspace
Read, update, create and delete workspaces.
Catalog Workspace Content:
gooddata_sdk.catalog_workspace_content
Read catalog objects (datasets and metrics) from a workspace.
Catalog Data Source:
gooddata_sdk.catalog_data_source
Read, update, create and delete data sources and read their tables.
Insights:
gooddata_sdk.insights
Read insights stored in a workspace.
Compute:
gooddata_sdk.compute
Drives computation of analytics for GoodData.CN workspaces. Used by higher level services such as the Table service.
Table:
gooddata_sdk.table
Compute and read analytics in typical tabular format.
All service-related articles: