1.0.0 • Published 1 year ago

@rantalainen/fabricai-api-client v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

fabricai-api-client

FabricAiApiClient is a third party FabricAI API client for NodeJS. It is a wrapper around an API client that has been automatically generated using the OpenAPI schema provided by FabricAI.

Installation

Add to project's package.json:

npm install @rantalainen/fabricai-api-client

Import to NodeJS project

const { FabricAiApiClient } = require('@rantalainen/fabricai-api-client');

Import to TypeScript project

import { FabricAiApiClient } from '@rantalainen/fabricai-api-client';

Setup client with options

In order to obtain an API key, please contact FabricAI Support. An API key is needed to access all API functions.

const fai = new FabricAiApiClient(
  {
    apiKey: 'api_key'
  },
  {
    baseURL: 'https://ai.dev.fabricai.io'
  }
);

Available methods can be found in the Technical API documentation.

Resources

Changelog

  • 1.0.0 First release