No project description provided
Project description
Install
pip install fyers-token-manager-3
Fyers Token Generator
from fyers_token_manager_3 import FyersTokenManager
config = {
"username": "<USERNAME>",
"totp_key": "<TOTP_KEY>",
"pin": "<PIN>",
"client_id": "<CLIENT_ID>",
"secret_key": "<SECRET_KEY>",
"redirect_url": "<REDIRECT_URL>",
}
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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4a242e5cb632c9043d055ddde433c019542b73998d33113bce49496cb1e4e1c |
|
MD5 | 6f952b0eaf739316af1052f845f6fd47 |
|
BLAKE2b-256 | 5e9e2e5e9183adc0974a971245bd6e72c8a596af177ff4e9a9e34d11a15c7061 |
Close
Hashes for fyers_token_manager_3-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2804452ac5bde038868966ca6571a852205a308834459662511091e007fcedf8 |
|
MD5 | fb84fc1cfee7e5a5083763ea9c0c74e2 |
|
BLAKE2b-256 | 0796f2c8ad7bb71e789d8956336eea3069252a150e936824e1dec878eba9955e |