A node.js client for communicating with TSETMC API


Keywords
tsetmc, api, node, nodejs
License
MIT
Install
npm install tsetmc-client@1.0.5

Documentation

TseTmc Client Library for NodeJS

npm npm bundle size

This library is for getting tehran stock market data from the TseTmc.com website.

Installation

npm install tsetmc-client

📖 Usage

import { DayDetails } from 'tsetmc-client';

const parameters = {
  insId: '35331248532537562',
  dEven: 20230201 // Date in format of YYYYMMDD
};

DayDetails.getPriceData(parameters).then((data) => {
  console.log(data); // {"priceChange": 740.00, "low":15630.00, ...}
});

📚 Documentation

For all configuration options, please see the API docs.

License

MIT © Shahrad Elahi