Skip to content

Commit 75447d4

Browse files
committed
changes in root variable
1 parent 064faf6 commit 75447d4

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

-158 Bytes
Binary file not shown.

SmartApi/smartConnect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def __init__(self, api_key=None, access_token=None, refresh_token=None, userId=N
9494
self.refresh_token = refresh_token
9595
self.userId = userId
9696
self.proxies = proxies if proxies else {}
97-
self.root = root or self._login_url
97+
self.root = root or self._rootUrl
9898
self.timeout = timeout or self._default_timeout
9999

100100
if pool:

SmartApi/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
__description__ = "Angel Broking openApi integration"
33
__url__ = "https://www.angelbroking.com/"
44
__download_url__ = "https://github.com/angelbroking-github/smartapi-python"
5-
__version__ = "1.0.3.3"
5+
__version__ = "1.0.3.4"
66
__author__ = "ab-smartapi"
77
__token__ = "ab-smartapi"
88
__author_email__ = "[email protected]"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
setup(
1515
name="smartapi-python",
16-
version="1.0.3.3",
16+
version="1.0.3.4",
1717
author="ab-smartapi",
1818
author_email="[email protected]",
1919
description="Angel Broking openApi integration",

test/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
sys.path.append(dir + "\SmartApi")
99
#print(sys.path)
1010

11-
from smartapi.smartConnect import SmartConnect
11+
from smartConnect import SmartConnect
1212

1313
smartApi =SmartConnect()
1414

15-
login = smartApi.generateSession('D88311', 'Angel@444')
15+
login = smartApi.generateSession('S212741', 'pass@123')
1616
print(login)
1717
refreshToken = login['data']['refreshToken']
1818
smartApi.getProfile(refreshToken)

0 commit comments

Comments
 (0)