Client SDKs
Thin HTTP wrappers for Python, JavaScript (Node + browser), and PHP. No external dependencies—just stdlib and the language's built-in HTTP client. Download, copy into your project, and start calling the API.
Read the source, open an issue, or send a pull request. Every client is a few hundred lines of request building — nothing hidden.
git clone https://github.com/gosiddhi9/rajvidya-sdk.git
Python
stdlib urllib only, no dependencies
Copy rajvidya.py into your project
— no install step, no dependencies
from rajvidya import RajvidyaClient client = RajvidyaClient(api_key='rv_prod_ABC_...') kundli = client.kundli(chart_id='chart-123', lang='en') print(kundli.data)
JavaScript (ES Module)
Node 18+, browsers with fetch. Zero dependencies.
Copy rajvidya.js into your project
— no install step, no dependencies
import { RajvidyaClient } from './rajvidya.js';
const client = new RajvidyaClient('rv_prod_ABC_...');
const kundli = await client.kundli('chart-123', 'en');
console.log(kundli.data);
PHP
PHP 8+, cURL (built-in). No Composer dependencies.
Copy Rajvidya.php into your project
— no install step, no dependencies
<?php
require 'Rajvidya.php';
use Rajvidya\RajvidyaClient;
$client = new RajvidyaClient('rv_prod_ABC_...');
$kundli = $client->kundli('chart-123', 'en');
echo json_encode($kundli->data);
?>
Features
Stdlib only. Drop into your project and go.
Sends key securely. No URL params, no secrets in logs.
X-Credits-Charged, X-Credits-Remaining built in.
Typed exceptions. Inspect error codes, not strings.
For a complete list of methods and parameters, see the API reference or download the OpenAPI spec.