@qbraid-core/base
v0.12.6
Published
Core functionality for interacting with qBraid Cloud Services.
Maintainers
Readme
@qbraid-core/base
Base API client used for authentication, requests, and other core functionality for interacting with qBraid Cloud Services.
Installation
npm install @qbraid-core/baseUsage Example
V1 API (Recommended)
import { QbraidSessionV1 } from '@qbraid-core/base';
const session = new QbraidSessionV1('your-api-key');
// The session client is ready to use immediately
console.log('Session initialized:', session.client !== null);V0 API (Legacy)
import { QbraidClient } from '@qbraid-core/base';
const client = new QbraidClient();
const user = await client.getUser();
console.log(`email: ${user.email}`, `role: ${user.role}`);License
This software is proprietary and subject to the terms of the qBraid Commercial Software License.
