Skip to main content

Python SDK skeleton for the eChallan Api platform.

Project description

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)

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

echallan-1.0.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

echallan-1.0.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file echallan-1.0.0.tar.gz.

File metadata

  • Download URL: echallan-1.0.0.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for echallan-1.0.0.tar.gz
Algorithm Hash digest
SHA256 262173844690398a68b62f7074178b92a65dbfeb155c7ac47ddabfb55ab292dd
MD5 b8451b7c2fc3a99bdb2ae8e0dccfb11f
BLAKE2b-256 d45b5efe0e168b86b533f95acf53b478d86304e4a6c5c7e105f981d219908a0b

See more details on using hashes here.

File details

Details for the file echallan-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: echallan-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for echallan-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1173cb39ce96828acac0f5b76ff60146d40d4fbe74cf4352b6842a22fff0fff
MD5 fecefe3c07b2f14c6f28620a3d20f5ad
BLAKE2b-256 5476ebc664c142c71044813327f3d387c50c29be781393f9936d1033adfc7e19

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page