UNPKG

upstox-js-sdk

Version:

The official Node Js client for communicating with the Upstox API

16 lines (12 loc) 393 B
## Get market timings of a date ```javascript let UpstoxClient = require('upstox-js-sdk'); let apiInstance = new UpstoxClient.MarketHolidaysAndTimingsApi(); apiInstance.getExchangeTimings("2024-01-22",(error, data, response) => { if (error) { console.error(error); } else { console.log('API called successfully. Returned data: ' + JSON.stringify(data)); } }); ```