tsetmc-client
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i tsetmc-client

Weekly Downloads

195

Version

1.1.2

License

MIT

Unpacked Size

121 kB

Total Files

7

Last publish

Collaborators

  • shahradelahi