Examples
Here are some common examples of how to use Optare.
Authentication
import { OptareClient } from '@optare/sdk';
const client = new OptareClient({
apiKey: '...'
});
await client.auth.login(email, password);Creating an Organization
const org = await client.orgs.create({
name: 'My Team'
});