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.
npm add @fabra/sdk
yarn add @fabra/sdk
import {
GetNamespacesRequest,
GetNamespacesResponse
} from "@fabra/sdk/dist/sdk/models/operations";
import { AxiosError } from "axios";
import { Fabra } from "@fabra/sdk";
const sdk = new Fabra({
security: {
apiKeyAuth: {
apiKey: "YOUR_API_KEY_HERE",
},
}
});
const req: GetNamespacesRequest = {
queryParams: {
connectionID: 548814,
},
};
sdk.connection.getNamespaces(req).then((res: GetNamespacesResponse | AxiosError) => {
// handle response
});
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