Installing the Upstox SDK
With your environment set up, the next step is to install the Upstox SDK along with any required dependencies. Follow the instructions for your preferred language to ensure a smooth setup and integration.
Python
Repository Links:
Installation:
pip install --upgrade upstox-python-sdk
Node.js
Repository Links:
Installation:
npm install upstox-js-sdk --save
Java
Repository Links:
- GitHub: https://github.com/upstox/upstox-java
- Maven Central: https://mvnrepository.com/artifact/com.upstox.api/upstox-java-sdk
Installation:
Maven – Add this to your pom.xml:
<dependency>
<groupId>com.upstox.api</groupId>
<artifactId>upstox-java-sdk</artifactId>
<version>LATEST</version>
<scope>compile</scope>
</dependency>
Gradle – Add this to your build.gradle:
implementation "com.upstox.api:upstox-java-sdk:+"
PHP
Repository Links:
- GitHub: https://github.com/upstox/upstox-php
- Composer: https://packagist.org/packages/upstox/upstox-php-sdk
Installation:
composer require upstox/upstox-php-sdk