Skip to content

Commit 828f0db

Browse files
authored
Merge pull request #58 from upstox/feature/update-api-endpoint
Feature/update api endpoint
2 parents 8112e1c + 166981a commit 828f0db

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The official Python client for communicating with the <a href="https://upstox.co
99
Upstox API is a set of rest APIs that provide data required to build a complete investment and trading platform. Execute orders in real time, manage user portfolio, stream live market data (using Websocket), and more, with the easy to understand API collection.
1010

1111
- API version: v2
12-
- Package version: 2.0.0
12+
- Package version: 2.2.0
1313
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
1414

1515
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
long_description = (this_directory / "README.md").read_text()
1919

2020
NAME = "upstox-python-sdk"
21-
VERSION = "2.0.0"
21+
VERSION = "2.2.0"
2222
# To install the library, run the following
2323
#
2424
# python setup.py install

upstox_client/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)):
4646
def __init__(self):
4747
"""Constructor"""
4848
# Default Base url
49-
self.host = "https://api-v2.upstox.com"
49+
self.host = "https://api.upstox.com/v2"
5050
# Temp file folder for downloading files
5151
self.temp_folder_path = None
5252

0 commit comments

Comments
 (0)