Official SDKs

Get started with GlyphNet in your favorite language. Full type support, async operations, and comprehensive error handling.

Python

Full async support, type hints, and Pydantic models.

pip install glyphnet

Quick Example

from glyphnet import GlyphNet

client = GlyphNet(api_key="gn_live_...")

result = client.verify("The Earth orbits the Sun.")

print(f"Verified: {result.verified}")
print(f"Confidence: {result.confidence}")

JavaScript / TypeScript

Zero dependencies, works in Node.js, browsers, and edge runtimes.

npm install glyphnet

Quick Example

import { GlyphNet } from 'glyphnet';

const client = new GlyphNet({ apiKey: 'gn_live_...' });

const result = await client.verify('The Earth orbits the Sun.');

console.log(`Verified: ${result.verified}`);
console.log(`Confidence: ${result.confidence}`);

Direct API Access

Prefer to call the API directly? Use cURL or any HTTP client.

curl -X POST https://api.glyphnet.io/v1/verify \
  -H "Authorization: Bearer gn_live_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"text": "The Earth orbits the Sun.", "mode": "flagging"}'