Git Product home page Git Product logo

airbyte-sdk's Introduction

airbyte-sdk

Disclaimer

The project is in alpha version. Readers can refer to our opened GitHub issues to check the ongoing work on this project.

What is airbyte-sdk?

airbyte-sdk is a package to manage Airbyte configurations through your code. It can handle CRUD for sources, destinations, definitions and connections. It also has some commonly used functions to make the usage simpler.

When should I use airbyte-sdk?

When you want to handle Airbyte configurations through some automation or through API. You can also make use of this while creating some scripts.

Table of content

Install

Your project need to support node version 16 or above

Using npm:

$ npm install airbyte-sdk

Using yarn:

$ yarn add airbyte-sdk

Configuration

You will have to provide the base url for the Airbyte instance.

setAirbyteHost('http://localhost:8001/');

You can also set default headers as described below

setAuthenticationHeaders(headers);

Classes and functions

You can go through the following URL

Contributing

  1. Go to https://github.com/harshithmullapudi/airbyte-sdk
  2. Create an issue if the issue is not already created, attach a tag [Bug, Improvement]
  3. Fork the repo, code and test thoroughly.
  4. Open a PR on the repo from your fork.

Examples

var { setAirbyteHost, Source, WorkspaceModel } = require('airbyte-sdk');

async function main() {
  setAirbyteHost('http://localhost:8000');

  const workspaceModel = await WorkspaceModel.createWorkspaceInstanceFromId(
    '29cfb153-40a9-478a-a37c-f519560459b2',
  );
  const source = new Source(workspaceModel);
  const allSources = await source.getAllSources();
  console.log(allSources);
}

main();

airbyte-sdk's People

Contributors

harshithmullapudi avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.