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_3 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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca1d9f77b5251ea691dae46b931013580a9e99d3eca6087ae82fda6ef35674db |
|
MD5 | bc7be6be4715654a5e1981c335d84aa0 |
|
BLAKE2b-256 | 1aa2b193397968578810c65e276b8a490f90b003f03bd72cb3e70c007d70d789 |
Close
Hashes for fyers_token_manager_3-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56f111ca41db6e31c31e06385a6e3ae33be0fa8517bcf8b96ab820db0e1f5f86 |
|
MD5 | 31037fe53344546bbaf9b0579ac22b5d |
|
BLAKE2b-256 | a8de8ec0df84bafcae32c289bc8fe7a66f10efeb7d3d03945195db96aa37241f |