
Product
Socket Now Supports pylock.toml Files
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
kotak-neo-nodejs-sdk
Advanced tools
npm i kotak-neo-nodejs-sdk
const { NeoSDK } = require("kotak-neo-nodejs-sdk");
let neo = new NeoSDK();
(async () => {
// save accessToken to database
let accessToken = await neo.generateAccessToken({
username: "neo_username",
password: "neo_password",
customer_secret: "customer_secret generated from developer portal",
customer_key: "customer_key generated from developer portal",
})
try {
let response = await neo.login({
pan: "client_pan",
mobileNumber : "+917777777777" // Either mobile number or pan is allowed
password: "client_password",
});
let sessionToken = await neo.setSession({
otp: otp, // enter otp that has been sent to the registered mobile number
sessionToken: response.token, // sessionToken
});
await neo.getOrderBook()
}
})();
If you have already generated access token and already logged in client
neo.setAccessToken(
"access_token",
);
neo.setLoggedHeaders({
serverId: "server_id",
rid: "refresh_token",
Sid: "user_id",
Auth: "session_token",
});
await neo.getOrderBook();
Laabhum Private Limited (c) 2024. Licensed under the ISC License.
FAQs
TS client library for Kotak Neo Trade API
The npm package kotak-neo-nodejs-sdk receives a total of 2 weekly downloads. As such, kotak-neo-nodejs-sdk popularity was classified as not popular.
We found that kotak-neo-nodejs-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
Research
Security News
Malicious Ruby gems typosquat Fastlane plugins to steal Telegram bot tokens, messages, and files, exploiting demand after Vietnam’s Telegram ban.