Skip to main content

Python Client SDK for Airbyte API

Project description

Programatically control Airbyte Cloud through an API.

Authentication

Developers will need to create an API Key within your Developer Portal to make API requests. You can use your existing Airbyte account to log in to the Developer Portal. Once you are in the Developer Portal, use the API Keys tab to create or remove API Keys. You can see a walkthrough demo here🎦

The Developer Portal UI can also be used to help build your integration by showing information about network requests in the Requests tab. API usage information is also available to you in the Usage tab.

SDK Installation

pip install airbyte-api

SDK Example Usage

import airbyte
from airbyte.models import shared

s = airbyte.Airbyte(
    security=shared.Security(
        basic_auth=shared.SchemeBasicAuth(
            password="",
            username="",
        ),
    ),
)

req = shared.ConnectionCreateRequest(
    configurations=shared.StreamConfigurations(
        streams=[
            shared.StreamConfiguration(
                cursor_field=[
                    'corrupti',
                ],
                name='Kelvin Sporer',
                primary_key=[
                    [
                        'corrupti',
                    ],
                ],
                sync_mode=shared.ConnectionSyncModeEnum.INCREMENTAL_DEDUPED_HISTORY,
            ),
        ],
    ),
    data_residency=shared.GeographyEnum.US,
    destination_id='9a674e0f-467c-4c87-96ed-151a05dfc2dd',
    name='Javier Schmidt',
    namespace_definition=shared.NamespaceDefinitionEnum.DESTINATION,
    namespace_format='${SOURCE_NAMESPACE}',
    non_breaking_schema_updates_behavior=shared.NonBreakingSchemaUpdatesBehaviorEnum.PROPAGATE_FULLY,
    prefix='dolorum',
    schedule=shared.ConnectionSchedule(
        cron_expression='dicta',
        schedule_type=shared.ScheduleTypeEnum.CRON,
    ),
    source_id='a928fc81-6742-4cb7-b920-5929396fea75',
    status=shared.ConnectionStatusEnum.INACTIVE,
)

res = s.connections.create_connection(req)

if res.connection_response is not None:
    # handle response

Available Resources and Operations

connections

destinations

jobs

sources

streams

workspaces

Maturity

This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.

Contributions

While we value open-source contributions to this SDK, this library is generated programmatically. Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release !

SDK Created by Speakeasy

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

airbyte-api-0.35.4.tar.gz (149.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

airbyte_api-0.35.4-py3-none-any.whl (355.9 kB view details)

Uploaded Python 3

File details

Details for the file airbyte-api-0.35.4.tar.gz.

File metadata

  • Download URL: airbyte-api-0.35.4.tar.gz
  • Upload date:
  • Size: 149.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for airbyte-api-0.35.4.tar.gz
Algorithm Hash digest
SHA256 837eea31a44cfb38f8c4819eabe8582894d84749b4d1f000f33685ef0d9eb66d
MD5 1ec6fe40ed53728b82caeaf24ad52c5e
BLAKE2b-256 9af6b5c2935e6057d21fc79e99dc0838b9c2aeff7542bd55703c426262a8f2bd

See more details on using hashes here.

File details

Details for the file airbyte_api-0.35.4-py3-none-any.whl.

File metadata

  • Download URL: airbyte_api-0.35.4-py3-none-any.whl
  • Upload date:
  • Size: 355.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for airbyte_api-0.35.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e32ab9fe9af4e0bcb7f67f402378f99b3feff919104ba63e9beed65a0b140dbb
MD5 c6bd1c90a128f66e1dadf51c0975cc84
BLAKE2b-256 e9efa2805e83389aac230e720b33da2b034f88f6a35e9b6730ee54b66c192903

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page