fyers-token-manager-v2


Namefyers-token-manager-v2 JSON
Version 0.1.3 PyPI version JSON
download
home_pagehttps://github.com/krunaldodiya/fyers_token_manager
SummaryFyers Token Manager
upload_time2023-08-05 13:58:06
maintainer
docs_urlNone
authorKrunal Dodiya
requires_python
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ```
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-v2
```

## Fyers Token Generator

```
from fyers_api import accessToken, fyersModel
from fyers_api.Websocket import ws

from fyers_token_manager_v2 import FyersTokenManager
```

#### Initialization

```
fyersTokenManager = FyersTokenManager(config, accessToken, fyersModel, ws)

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": "https://github.com/krunaldodiya/fyers_token_manager",
    "name": "fyers-token-manager-v2",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Krunal Dodiya",
    "author_email": "kunal.dodiya1@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/8d/ed/ca95cb2aaa2675eaaa9c767e1de7cec95bb8efad3c6cc2c869dcabcf3d71/fyers_token_manager_v2-0.1.3.tar.gz",
    "platform": null,
    "description": "```\nconfig = {\n  \"username\": \"<USERNAME>\",\n  \"totp_key\": \"<TOTP_KEY>\",\n  \"pin\": \"<PIN>\",\n  \"client_id\": \"<CLIENT_ID>\",\n  \"secret_key\": \"<SECRET_KEY>\",\n  \"redirect_uri\": <REDIRECT_URL>\n}\n```\n\n## Install\n\n```\npip install fyers-token-manager-v2\n```\n\n## Fyers Token Generator\n\n```\nfrom fyers_api import accessToken, fyersModel\nfrom fyers_api.Websocket import ws\n\nfrom fyers_token_manager_v2 import FyersTokenManager\n```\n\n#### Initialization\n\n```\nfyersTokenManager = FyersTokenManager(config, accessToken, fyersModel, ws)\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\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Fyers Token Manager",
    "version": "0.1.3",
    "project_urls": {
        "Homepage": "https://github.com/krunaldodiya/fyers_token_manager"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "36805201d61965de031f1d3f847b7bdba0d07b6736c72180f0bc89b7a5803076",
                "md5": "454fe2069a206a81203db006cd21f1cd",
                "sha256": "2ff1fbc1c9bad4de0152cf867ebb3b74d069d4e693356ab54f4296d22acffc1c"
            },
            "downloads": -1,
            "filename": "fyers_token_manager_v2-0.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "454fe2069a206a81203db006cd21f1cd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3629,
            "upload_time": "2023-08-05T13:58:05",
            "upload_time_iso_8601": "2023-08-05T13:58:05.146990Z",
            "url": "https://files.pythonhosted.org/packages/36/80/5201d61965de031f1d3f847b7bdba0d07b6736c72180f0bc89b7a5803076/fyers_token_manager_v2-0.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8dedca95cb2aaa2675eaaa9c767e1de7cec95bb8efad3c6cc2c869dcabcf3d71",
                "md5": "1270a10828f9c1767ad1e3b1a8a90590",
                "sha256": "d2e109013fccc6f1e3b28a5c92706e1747522e887f1eabe3b92f4aa3b0e70854"
            },
            "downloads": -1,
            "filename": "fyers_token_manager_v2-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "1270a10828f9c1767ad1e3b1a8a90590",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3251,
            "upload_time": "2023-08-05T13:58:06",
            "upload_time_iso_8601": "2023-08-05T13:58:06.883081Z",
            "url": "https://files.pythonhosted.org/packages/8d/ed/ca95cb2aaa2675eaaa9c767e1de7cec95bb8efad3c6cc2c869dcabcf3d71/fyers_token_manager_v2-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-05 13:58:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "krunaldodiya",
    "github_project": "fyers_token_manager",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "fyers-token-manager-v2"
}
        
Elapsed time: 0.13723s