Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fyers_token_manager_3-0.1.2.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fyers_token_manager_3-0.1.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file fyers_token_manager_3-0.1.2.tar.gz.

File metadata

  • Download URL: fyers_token_manager_3-0.1.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-76060800daily20240311-generic

File hashes

Hashes for fyers_token_manager_3-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d4a242e5cb632c9043d055ddde433c019542b73998d33113bce49496cb1e4e1c
MD5 6f952b0eaf739316af1052f845f6fd47
BLAKE2b-256 5e9e2e5e9183adc0974a971245bd6e72c8a596af177ff4e9a9e34d11a15c7061

See more details on using hashes here.

File details

Details for the file fyers_token_manager_3-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: fyers_token_manager_3-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-76060800daily20240311-generic

File hashes

Hashes for fyers_token_manager_3-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2804452ac5bde038868966ca6571a852205a308834459662511091e007fcedf8
MD5 fb84fc1cfee7e5a5083763ea9c0c74e2
BLAKE2b-256 0796f2c8ad7bb71e789d8956336eea3069252a150e936824e1dec878eba9955e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page