Using anthropic-max-router with flat.io

TypeScript integration

Install
npm install anthropic-max-router
Quick start
import Anthropic_max_router from 'anthropic-max-router';

const client = new Anthropic_max_router({ accessToken: "YOUR_ACCESS_TOKEN" });
Get current user profile
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.flat.io/v2/me
List the classes available for the current user
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.flat.io/v2/classes
List the collections
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.flat.io/v2/collections
SDK on GitHub 📄 API Docs
SDK
anthropic-max-router
TypeScript
API
flat.io
flat.io
At a glance
Language TypeScript
Endpoints81
Base URLhttps://api.flat.io/v2