A simple FastAPI web application to generate an access token from Sharekhan's API using app_id
, secret_id
, and authorization_code
.
- ๐ HTML form-based input using Jinja2 templates
- ๐ Access token generation via Sharekhan API
- โ Success & error handling with user-friendly output
- โก Clean and modular FastAPI structure
git clone https://github.com/your-username/Token-Generator.git
cd Token-Generator
# Linux/macOS
python3 -m venv venv
source venv/bin/activate
# Windows
python -m venv venv
venv\Scripts\activate
pip install fastapi uvicorn jinja2 requests python-multipart
uvicorn app:app --reload