https://github.com/shahradelahi/tsetmc-client
Simple client for communicating with TseTmc.com API
https://github.com/shahradelahi/tsetmc-client
nodejs tsetmc
Last synced: about 1 year ago
JSON representation
Simple client for communicating with TseTmc.com API
- Host: GitHub
- URL: https://github.com/shahradelahi/tsetmc-client
- Owner: shahradelahi
- License: mit
- Created: 2023-02-17T05:29:51.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-05-08T16:48:00.000Z (about 1 year ago)
- Last Synced: 2025-05-14T00:41:53.917Z (about 1 year ago)
- Topics: nodejs, tsetmc
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/tsetmc-client
- Size: 2.56 MB
- Stars: 174
- Watchers: 2
- Forks: 2
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[TseTmc.com]: http://www.tsetmc.com
# TseTmc Client Library for NodeJS
[](https://www.npmjs.com/package/tsetmc-client)
[](https://packagephobia.now.sh/result?p=tsetmc-client)
This library is for getting tehran stock market data from the [TseTmc.com] website.
### Installation
```bash
npm install tsetmc-client
```
### 📖 Usage
```javascript
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](https://paka.dev/npm/tsetmc-client/api).
### License
[MIT](LICENSE) © [Shahrad Elahi](https://github.com/shahradelahi)