This example demonstrates how to use the GrowwAPI NodeJS SDK to fetch instrument instructions and filter them.
const data = await groww.instructions.getInstructions();
console.log('Preview Content:', data.fileContent.slice(0, 1000));const filtered = await groww.instructions.getFilteredInstructions({
exchangeToken: 2885,
});
console.log('Filtered Instructions:', filtered);- Ensure you have initialized the SDK and set required environment variables.
- All methods are asynchronous and return strongly typed responses.
- For more details, refer to the API documentation.