API 1.0.0REST APIStable
SDKs & Libraries
Official and community SDKs for easy integration
Official Packages
Quickstart
Minimal examples to get started quickly with the official clients.
JavaScript (ESM)
JavaScript
1import { LabsApiClient } from '@conscherry/labs-api';23const client = new LabsApiClient({ apiKey: '<API_KEY>' });45const response = await client.postStats({6 botId: 'YOUR_BOT_CLIENT_ID',7 guildCount: 1500,8 userCount: 250000,9});1011console.log(response.data);
Python
Python
1from labs import LabsApiClient23with LabsApiClient(api_key="<API_KEY>") as client:4 response = client.post_stats(5 bot_id="YOUR_BOT_CLIENT_ID",6 guild_count=1500,7 user_count=250000,8 )9 print(response)
Telemetry & Attribution Headers
To help diagnose integrations and attribute usage (for analytics, dashboards, and debugging), clients include telemetry headers by default. These headers are advisory and should never contain secrets or personally identifiable information.
Standardized headers
X-SDK-Name— SDK name (e.g. "labs-api")X-SDK-Version— SDK versionX-SDK-Lang— language/runtime (e.g. "node", "python")X-SDK-Instance-Id— anonymous instance id
Opting out
Telemetry is enabled by default. You can disable it during client initialization:
JavaScript
// JS/TSconst client = new LabsApiClient({telemetry: { enabled: false }});
Python
# Pythonclient = LabsApiClient(telemetry=False)
Using plain HTTP
If you prefer not to use the SDK, the REST endpoints are available for any HTTP client.
JavaScript / Node.js
JavaScript
1const response = await fetch('https://labs.conscherry.com/api/v1/stats', {2 method: 'POST',3 headers: {4 'Authorization': 'Bearer <API_KEY>',5 'Content-Type': 'application/json'6 },7 body: JSON.stringify({ botId: 'YOUR_BOT_CLIENT_ID', guildCount: 1500, userCount: 250000 })8});910const data = await response.json();
Python
Python
1import requests23response = requests.post(4 'https://labs.conscherry.com/api/v1/stats',5 headers={'Authorization': 'Bearer <API_KEY>', 'Content-Type': 'application/json'},6 json={'botId': 'YOUR_BOT_CLIENT_ID', 'guildCount': 1500, 'userCount': 250000},7)89data = response.json()
Community Contributions
Have a wrapper or SDK? Submit a PR or open an issue on the GitHub repo to get featured here.
- Check our code examples for integration patterns
- Read the API reference for complete endpoint documentation
- Join our Discord community for help and discussions
Need more help?
Ask in our Discord or email support@conscherry.com.