Name | fyers-token-manager-3 JSON |
Version |
0.1.2
JSON |
| download |
home_page | None |
Summary | None |
upload_time | 2024-05-25 06:14:55 |
maintainer | None |
docs_url | None |
author | Krunal Dodiya |
requires_python | <4.0,>=3.10 |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
## 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)
Raw data
{
"_id": null,
"home_page": null,
"name": "fyers-token-manager-3",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": null,
"author": "Krunal Dodiya",
"author_email": "kunal.dodiya1@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/5e/9e/2e5e9183adc0974a971245bd6e72c8a596af177ff4e9a9e34d11a15c7061/fyers_token_manager_3-0.1.2.tar.gz",
"platform": null,
"description": "## Install\n\n```\npip install fyers-token-manager-3\n```\n\n## Fyers Token Generator\n\n```\nfrom fyers_token_manager_3 import FyersTokenManager\n\nconfig = {\n \"username\": \"<USERNAME>\",\n \"totp_key\": \"<TOTP_KEY>\",\n \"pin\": \"<PIN>\",\n \"client_id\": \"<CLIENT_ID>\",\n \"secret_key\": \"<SECRET_KEY>\",\n \"redirect_url\": \"<REDIRECT_URL>\",\n}\n\nfyersTokenManager = FyersTokenManager(\n username=config[\"username\"],\n totp_key=config[\"totp_key\"],\n pin=config[\"pin\"],\n client_id=config[\"client_id\"],\n secret_key=config[\"secret_key\"],\n redirect_url=config[\"redirect_url\"],\n)\n\nprint(fyersTokenManager.http_access_token)\nprint(fyersTokenManager.ws_access_token)\n```\n\n#### HTTP Client\n\n- fyersTokenManager.http_client.get_profile()\n\n#### WebSocket Client\n\n- fyersTokenManager.ws_client.subscribe(payload)\n",
"bugtrack_url": null,
"license": null,
"summary": null,
"version": "0.1.2",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0796f2c8ad7bb71e789d8956336eea3069252a150e936824e1dec878eba9955e",
"md5": "fb84fc1cfee7e5a5083763ea9c0c74e2",
"sha256": "2804452ac5bde038868966ca6571a852205a308834459662511091e007fcedf8"
},
"downloads": -1,
"filename": "fyers_token_manager_3-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fb84fc1cfee7e5a5083763ea9c0c74e2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 4217,
"upload_time": "2024-05-25T06:14:54",
"upload_time_iso_8601": "2024-05-25T06:14:54.181411Z",
"url": "https://files.pythonhosted.org/packages/07/96/f2c8ad7bb71e789d8956336eea3069252a150e936824e1dec878eba9955e/fyers_token_manager_3-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5e9e2e5e9183adc0974a971245bd6e72c8a596af177ff4e9a9e34d11a15c7061",
"md5": "6f952b0eaf739316af1052f845f6fd47",
"sha256": "d4a242e5cb632c9043d055ddde433c019542b73998d33113bce49496cb1e4e1c"
},
"downloads": -1,
"filename": "fyers_token_manager_3-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "6f952b0eaf739316af1052f845f6fd47",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 3382,
"upload_time": "2024-05-25T06:14:55",
"upload_time_iso_8601": "2024-05-25T06:14:55.842525Z",
"url": "https://files.pythonhosted.org/packages/5e/9e/2e5e9183adc0974a971245bd6e72c8a596af177ff4e9a9e34d11a15c7061/fyers_token_manager_3-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-25 06:14:55",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "fyers-token-manager-3"
}