open-index/open-npm huggingface dataset:
npm package: @nft-portal/portal-ts
Description: NodeJS client for @nft-portal/portal-ts
Author: OpenAPI-Generator Contributors
Latest version: 1.0.14

## Portal TypeScript Client

This is a TypeScript client for the Convo AI API. It is generated using the OpenAPI generator.

### Installation

```bash
npm install @nft-portal/portal-ts
```

### Usage

```typescript
import { HealthApi, HealthApiApiKeys } from '@nft-portal/portal-ts';

// Instantiate the API
const api = new HealthApi();

// Set the API key. You can get your API key from the Portal settings page.
api.setApiKey(HealthApiApiKeys.apiKey, 'psk_6...ft1');

// Call the API
const res = await api.ping();

console.log(res.body);

// PingResponse { message: 'pong' }
```