Metadata-Version: 2.4
Name: echallan
Version: 1.0.0
Summary: Python SDK skeleton for the eChallan Api platform.
Author-email: eChallan <developer@echallan.app>
License: Proprietary - Vahanfin Solutions Private Limited
Project-URL: Homepage, https://github.com/vahanfin/eChallan-Api
Project-URL: Repository, https://github.com/vahanfin/eChallan-Api
Project-URL: Issues, https://github.com/vahanfin/eChallan-Api/issues
Keywords: echallan,api,sdk,fleet,challan
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.31.0
Dynamic: license-file

# eChallan Api Python SDK Docs

Tech-Driven Fleet Compliance & Challan Management Platform  
Experience compliance as easy as buying from Flipkart or Amazon — whether it’s settling a challan or renewing vehicle documents, it’s all just a click away.

## Overview
- Endpoints base: `https://app.echallan.app`
- Auth: `x-api-key`
- Endpoint catalog: embedded in `echallan_api/endpoints.py` (`ENDPOINTS` list + helper functions per route).

## Quick Start (code)

```python
from echallan_api.client import EChallanApiClient
from echallan_api import endpoints

client = EChallanApiClient(api_key="YOUR_KEY", base_url="https://app.echallan.app")

# Health check
print(client.get_health())

# Call a specific endpoint helper
resp = endpoints.vehicle_lookup(client, registration_number="MH01AB1234")
print(resp)

# List all documented endpoints
print([e["id"] for e in client.list_endpoints()])
```

## Notes
- Helper functions in `echallan_api/endpoints.py` map 1:1 to the documented routes; each supports `query`, `body`, and `dry_run` to preview the request payload/URL without sending it.
- Replace sample values with production keys and parameters from your contract.
