Skip to content

manish3089/Token-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

14 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ” Sharekhan API Token Generator (FastAPI)

A simple FastAPI web application to generate an access token from Sharekhan's API using app_id, secret_id, and authorization_code.

๐Ÿš€ Features

  • ๐Ÿ“„ 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

โš™๏ธ Setup Instructions

1. Clone the Repository

git clone https://github.com/your-username/Token-Generator.git
cd Token-Generator

๐Ÿ› ๏ธ Create and Activate Virtual Environment

# Linux/macOS
python3 -m venv venv
source venv/bin/activate

# Windows
python -m venv venv
venv\Scripts\activate

Install Dependencies

 pip install fastapi uvicorn jinja2 requests python-multipart

Run the Application

uvicorn app:app --reload

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published