學習摘要

教學目的

快速開始

基礎概念

前置準備

用 Colab 執行

AI 工作流

🔌數據星球 API


Environment

<aside> <img src="/icons/search_blue.svg" alt="/icons/search_blue.svg" width="40px" />

SSO Base URL: https://marketing-sso.araliadata.io

</aside>

<aside> <img src="/icons/search_blue.svg" alt="/icons/search_blue.svg" width="40px" />

API Base URL: {DATA_PLANET_DOMAIN},範例:

更多其他星球,請到 https://marketing.araliadata.io/planets 查看。

</aside>


Authentication

🔐 驗證身份取得令牌

<aside>

POST {ssoURL}/realms/stellar/protocol/openid-connect/token

</aside>

Header

Content-Type: application/x-www-form-urlencoded

Parameters

Name Type Description
grant_type * string client_credential
client_id string 客戶端 ID
client_secret integer 客戶端密鑰

Responses

驗證成功後在 API Header 帶入令牌:

<aside>

Authorization: Bearer {token}

</aside>


Dataset API

🔍 查詢外星球或發布至 Galaxy 資料集清單

🔍 查詢資料集

🔍 查詢 Virtual Variable 列表


Exploration API

🔍 查詢篩選選項

🔍 數據探索

← 上一章: AI 工作流