The Customer Integration API empowers users to seamlessly extend Paradime's and capabilities with external applications. This powerful interface enables you to:
Create custom integrations tailored to your specific needs
Ingest and manage nodes from various data sources and applications
Upload node information for Paradime to incorporate into its lineage and catalog
Enhance data visibility by connecting Paradime with your entire data ecosystem
By leveraging this module, you can create a comprehensive, interconnected view of your data landscape, improving data governance, traceability, and insights across your organization.
Create a custom integration and upload nodes using JSON
This example uses as inputs the node_types.json and the nodes.json.
The below example is where we define our node types and the related attributes.
Defining color for a node:
The color can be one defined from one of the provided color palettes:
# First party modules
import json
from pathlib import Path
from typing import List
from paradime import Paradime
from paradime.apis.custom_integration.types import Node, NodeType
from paradime.tools.pydantic import parse_obj_as
# Create a Paradime client with your API credentials
paradime = Paradime(api_endpoint="API_ENDPOINT", api_key="API_KEY", api_secret="API_SECRET")
# Load node types and nodes from JSON files
node_types = parse_obj_as(List[NodeType], json.loads(Path("node_types.json").read_text()))
nodes = parse_obj_as(List[Node], json.loads(Path("nodes.json").read_text()))
# Create a custom integration or update it if it already exists
my_integration = paradime.custom_integration.upsert(
name="MyParadimeIntegration",
logo_url="https://example.com/logo.png", # Optional, replace with the logo URL of the integration, or remove this line.
node_types=node_types,
)
# Add nodes to the custom integration.
paradime.custom_integration.add_nodes(
integration_uid=my_integration.uid,
nodes=nodes,
)
The below example is where we define the attributes for each node and the related upstream/downstream dependencies. For all types and attributes refer to types .