# Packages
No description provided by the author
# README
Fabra Go 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
go get github.com/fabra-io/go-sdk
SDK Example Usage
package main
import(
"context"
"log"
"github.com/fabra-io/go-sdk"
"github.com/fabra-io/go-sdk/pkg/models/operations"
)
func main() {
s := fabra.New(
fabra.WithSecurity(shared.Security{
APIKeyAuth: "YOUR_API_KEY_HERE",
}),
)
ctx := context.Background()
res, err := s.Connection.GetNamespaces(ctx, 548814)
if err != nil {
log.Fatal(err)
}
if res.Namespaces != nil {
// handle response
}
}
Available Resources and 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