No project description provided
Project description
config = {
"username": "<USERNAME>",
"totp_key": "<TOTP_KEY>",
"pin": "<PIN>",
"client_id": "<CLIENT_ID>",
"secret_key": "<SECRET_KEY>",
"redirect_uri": <REDIRECT_URL>
}
Install
pip install fyers-token-manager-3
Fyers Token Generator
from fyers_token_manager_v3 import FyersTokenManager
fyersTokenManager = FyersTokenManager(
username=config["username"],
totp_key=config["totp_key"],
pin=config["pin"],
client_id=config["client_id"],
secret_key=config["secret_key"],
redirect_url=config["redirect_url"],
)
print(fyersTokenManager.http_access_token)
print(fyersTokenManager.ws_access_token)
HTTP Client
- fyersTokenManager.http_client.get_profile()
WebSocket Client
- fyersTokenManager.ws_client.subscribe(payload)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for fyers_token_manager_3-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | de1e4b10f7f5ce1ee13f5bf436430a3132d5539782a9ef2c031832a15864afeb |
|
MD5 | 773276bee525cb0ca3c15ed9a85b0a8a |
|
BLAKE2b-256 | 52ccdc851d1eb241719d110d7b01a163a91f9c081d8a4414921610f1c2d4e1d5 |
Close
Hashes for fyers_token_manager_3-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4d36f92e2ba717c093c02ff0c891d19778126e7d8824211849169ccb4b32e3a |
|
MD5 | d997c051ae3b2c587ea17860710113c0 |
|
BLAKE2b-256 | 44b3d828b33b8dd5dd66b9020ac70c1ea62ac74a452f33ab53573c4661163da1 |