1.1.1 • Published 5 years ago

nse-nmf v1.1.1

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

nse-nmf

Utility functions to interact with NSE NMF XML-based APIs, https://www.nsenmf.com/

Installation

npm install --save nse-nmf

Usage

const nse = require('nse-nmf');

GetCustomers

nse.getCustomers({
  userId: "MFS*****", 
  password: "****", 
  brokerCode: "ARN-*****"
}).then((customers) => {
        console.log(customers.map((customer) => {
          return {
            customerId: customer.customerId,
            investorName: customer.investorName
          }
        });
});

GetCustomerDetails

nse.getCustomerDetails({
  userId: "MFS*****", 
  password: "****", 
  brokerCode: "ARN-*****"
}, "123412341234").then((customer) => {
    console.log(customer.customerId, customer.investorName, customer.dateOfBirth, customer.emailAddress, customer.mobileNo);
})
1.1.1

5 years ago

1.1.0

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago