Constructor

Initialize the client with your API key.

This constructor initializes the client with the provided configuration.

Signature

This function has the following signature:

ExportApi(configuration: Configuration)

Example

Here is a minimal example of how to initialize the client:

1234567
import {Configuration, ExportApi} from '@croct/export';
const api = new ExportApi(  new Configuration({    apiKey: '<API KEY>'  }));

Parameters

configuration
Configuration

The client configuration.

apiKey
string

The API key to authenticate requests.