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.
implementation 'fabra.io.javasdk:fabra-java-sdk:0.3.0'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
}getNamespaces- Get all namespacesgetSchema- Get schema for tablegetTables- Get all tables
createDestination- Create a new destinationgetDestinations- Get all destinations
createLinkToken- Create a new link token
createObject- Create a new objectgetObjects- Get all objects
createSource- Create a new sourcegetSources- Get all sources
createSync- Create a new syncgetSyncs- Get all syncs