Files
Goa-gel-fullstack/Documentation/developers/sdks.md
Mahi 435889ee79 docs: Rebuild documentation as enterprise-grade TLAS platform
- Migrate from custom HTTP server to VitePress framework
- Rename project to Tokenized License Approval System (TLAS)
- Add comprehensive documentation for all stakeholders:
  - Business: Executive summary, value proposition, governance
  - Operations: Infrastructure, installation, monitoring, backup
  - Departments: User guide, workflows, verification, issuance
  - Developers: API reference, authentication, webhooks, SDKs
  - Compliance: OWASP, DPDP Act, IT Act, audit framework
- Add modern theme with dark mode and full-text search
- Update Dockerfile for VitePress build process

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 00:05:20 -04:00

1.7 KiB

SDKs & Libraries

JavaScript/TypeScript SDK

Installation

npm install @tlas/sdk

Usage

import { TLASClient } from '@tlas/sdk';

const client = new TLASClient({
  baseUrl: 'https://api.tlas.gov.in/v1',
  clientId: 'your-client-id',
  clientSecret: 'your-client-secret'
});

// Submit application
const application = await client.applications.create({
  licenseType: 'TRADE_LICENSE',
  applicantId: 'DL-12345678',
  data: { ... }
});

// Check status
const status = await client.applications.getStatus(application.id);

// Verify certificate
const verification = await client.certificates.verify('GOA/TRADE/2026/00001');

Python SDK

Installation

pip install tlas-sdk

Usage

from tlas import TLASClient

client = TLASClient(
    base_url='https://api.tlas.gov.in/v1',
    client_id='your-client-id',
    client_secret='your-client-secret'
)

# Submit application
application = client.applications.create(
    license_type='TRADE_LICENSE',
    applicant_id='DL-12345678',
    data={...}
)

# Check status
status = client.applications.get_status(application['id'])

# Verify certificate
result = client.certificates.verify('GOA/TRADE/2026/00001')

Java SDK

Maven

<dependency>
  <groupId>gov.in.tlas</groupId>
  <artifactId>tlas-sdk</artifactId>
  <version>1.0.0</version>
</dependency>

Usage

TLASClient client = new TLASClient.Builder()
    .baseUrl("https://api.tlas.gov.in/v1")
    .credentials("client-id", "client-secret")
    .build();

Application app = client.applications()
    .create("TRADE_LICENSE", "DL-12345678", data);

VerificationResult result = client.certificates()
    .verify("GOA/TRADE/2026/00001");