1.0.1 • Published 1 year ago

dhanhq-ts v1.0.1

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

DhanHQ API NodeJs client (Typescript)

Requirements

  • NodeJS v12.20.0+
  • Typescript v4.9.0+

Installation

Install via npm

npm install dhanhq-ts

Or via Yarn

yarn add dhanhq-ts

Getting started with API

import DhanHqClient from "dhanhq-ts";

const client: DhanHqClient = new DhanHqClient({
  accessToken: ACCESS_TOKEN,
  env: DhanEnv.PROD
});

const orderDetail = await client.getOrderById(orderId);

Available API Interface in library are:

Alt text