1.0.0 • Published 1 year ago
@rantalainen/fabricai-api-client v1.0.0
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
- FabricAI: https://fabricai.fi/
- FabricAI AI Inside Developer Guide: https://ai.dev.fabricai.io/docs/
- FabricAI Technical API documentation: https://ai.dev.fabricai.io/docs/api/
Changelog
- 1.0.0 First release
1.0.0
1 year ago