Skip to content

demospace-ai/java-sdk

Folders and files

NameName
Last commit message
Last commit date
Mar 6, 2023
Feb 22, 2023
Mar 6, 2023
Feb 22, 2023
Feb 22, 2023
Feb 22, 2023
Mar 6, 2023
Mar 6, 2023
Feb 22, 2023
Mar 6, 2023
Mar 6, 2023
Feb 22, 2023
Feb 22, 2023
Feb 22, 2023
Feb 22, 2023

Repository files navigation

Fabra Java SDK

Use the Fabra API to build customer-facing data warehouse integrations to let your customers start sending data to your application. Unblock your sales pipeline in days, not months.

SDK Installation

Gradle

implementation 'fabra.io.javasdk:fabra-java-sdk:0.3.0'

SDK Example Usage

package hello.world;

import fabra.io.javasdk.Fabra;
import fabra.io.javasdk.models.shared.Security;

public class Application {
    public static void main(String[] args) {
        try {
            Fabra.Builder builder = Fabra.builder();

            builder.setSecurity(
                new Security() {{
                    apiKeyAuth = new SchemeAPIKeyAuth() {{
                        apiKey = "YOUR_API_KEY_HERE";
                    }};
                }}
            );

            Fabra sdk = builder.build();

            GetNamespacesRequest req = new GetNamespacesRequest() {{
                queryParams = new GetNamespacesQueryParams() {{
                    connectionID = 548814;
                }};
            }};

            GetNamespacesResponse res = sdk.connection.getNamespaces(req);

            if (res.getNamespaces200ApplicationJSONObject.isPresent()) {
                // handle response
            }
        } catch (Exception e) {
            // handle exception
        }

SDK Available Operations

connection

  • getNamespaces - Get all namespaces
  • getSchema - Get schema for table
  • getTables - Get all tables

destination

  • createDestination - Create a new destination
  • getDestinations - Get all destinations

linkToken

  • createLinkToken - Create a new link token

object

  • createObject - Create a new object
  • getObjects - Get all objects

source

  • createSource - Create a new source
  • getSources - Get all sources

sync

  • createSync - Create a new sync
  • getSyncs - Get all syncs

SDK Generated by Speakeasy