Code Monkey home page Code Monkey logo

dhan-edis's Introduction

dhan-edis

Automated eDIS authorization for https://dhan.co/

This script streamlines the eDIS authorization process for https://dhan.co/ without the need for browser automation tools like Selenium. The primary advantage of this approach is its efficiency on small virtual machines, especially those with limited resources where running browsers like Google Chrome might be challenging due to high memory consumption.

Usage

Before integrating this script into your project, I recommend thorough testing to validate its functionality and to ensure compatibility with your specific use case. The script has been designed to automate the eDIS authorization flow exclusively through the API, eliminating the need for browser involvement.

Instructions

  1. Clone this repository to your local machine.
  2. Navigate to the project directory and install all dependencies.
  3. Customize the script if needed, and ensure it aligns with your project requirements.
  4. Update the required environment variables:
    DHAN_ACCESS_TOKEN
    DHAN_CLIENT_ID
    DHAN_TPIN
    
  5. This script requires permissions to read email for the authorization OTP. It assumes that the email is hosted on Gmail. Follow the Google's app setup guide mentioned on this page to get programmatic access to your Gmail account. When the script is executed for the first time, it will prompt you to authorize access to your Gmail account and download the credentials file. This setup is required only once.
  6. Execute the script:
    python main.py
  7. Monitor the output for any error messages or unexpected behavior.

dhan-edis's People

Contributors

prashantpiyush avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.