ballerinax/dataflowkit Ballerina library

1.5.2

Overview

The Dataflow Kit API v1.3 connector(https://dataflowkit.com/doc-api) OpenAPI specification.
The Dataflow Kit API provides the capability to automate web scraping tasks, extract, process, and transform data from multiple pages at any scale.

Key Features

  • Programmatic access to create and manage resources via REST API
  • Manage user accounts and profiles
  • Secure authentication with API key or OAuth support

Prerequisites

Before using this connector in your Ballerina application, complete the following:

  1. Create a Dataflow Kit account.
  2. Obtain tokens - Follow this guide.

Quickstart

To use the Dataflow Kit connector in your Ballerina application, update the .bal file as follows:

Step 1: Import connector

First, import the ballerinax/dataflowkit module into the Ballerina project.

Copy
import ballerinax/dataflowkit;

Step 2: Create a new connector instance

You can now make the connection configuration using the Dataflow Kit API keys config.

Copy
dataflowkit:ApiKeysConfig & readonly apiKeyConfig = ?;
dataflowkit:Client baseClient = check new Client(apiKeyConfig);

Step 3: Invoke connector operation

Following is code demonstrates how to convert an URL to a pdf using ballerinax/dataflowkit connector.

Copy
public function main() returns error? {
    string entity = check baseClient->urlToPdf({url: "https://dataflowkit.com/doc-api#section/Authentication"});
}

Import

import ballerinax/dataflowkit;Copy

Other versions

See more...

Metadata

Released date: 2 days ago

Version: 1.5.2

License: Apache-2.0


Compatibility

Platform: any

Ballerina version: 2201.8.0

GraalVM compatible: Yes


Pull count

Total: 31

Current verison: 0


Weekly downloads


Source repository


Keywords

Type/Connector

Vendor/DataflowKit

Area/Developer Tools

Website & App Building/Web Scraper

Cost/Freemium


Contributors