Skip to content

rantalainen/fabricai-api-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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