tsetmc-client
v1.1.2
Published
A node.js client for communicating with TSETMC API
Downloads
228
Readme
TseTmc Client Library for NodeJS
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.