fyers-api-builder


Namefyers-api-builder JSON
Version 0.3.8 PyPI version JSON
download
home_pagehttps://github.com/krunaldodiya/fyers-api-builder
SummaryFyers Api Builder
upload_time2023-01-22 03:25:57
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.
            ## Fyers Token Generator

```
from fyers_api_builder import FyersApiBuilder
```

```
config = {
  "username": "<USERNAME>",
  "password": "<PASSWORD>",
  "pin": "<PIN>",
  "client_id": "<CLIENT_ID>",
  "secret_key": "<SECRET_KEY>",
  "redirect_uri": <REDIRECT_URL>
}
```

#### Initialization

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

fyersApiBuilder = FyersApiBuilder(config=config, accessToken=accessToken, fyersModel=fyersModel, ws=ws)
```

#### HTTP Client

- fyersApiBuilder.client.get_profile()
- fyersApiBuilder.client.history(payload)

#### WebSocket Client

- fyersApiBuilder.ws_client.subscribe(payload)



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/krunaldodiya/fyers-api-builder",
    "name": "fyers-api-builder",
    "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/69/5b/4f64d403b22c5bda61996de9452214eda0a1c3a8677f1e3f4fd908eb30ce/fyers-api-builder-0.3.8.tar.gz",
    "platform": null,
    "description": "## Fyers Token Generator\n\n```\nfrom fyers_api_builder import FyersApiBuilder\n```\n\n```\nconfig = {\n  \"username\": \"<USERNAME>\",\n  \"password\": \"<PASSWORD>\",\n  \"pin\": \"<PIN>\",\n  \"client_id\": \"<CLIENT_ID>\",\n  \"secret_key\": \"<SECRET_KEY>\",\n  \"redirect_uri\": <REDIRECT_URL>\n}\n```\n\n#### Initialization\n\n```\nfrom fyers_api import accessToken, fyersModel\nfrom fyers_api.Websocket import ws\n\nfyersApiBuilder = FyersApiBuilder(config=config, accessToken=accessToken, fyersModel=fyersModel, ws=ws)\n```\n\n#### HTTP Client\n\n- fyersApiBuilder.client.get_profile()\n- fyersApiBuilder.client.history(payload)\n\n#### WebSocket Client\n\n- fyersApiBuilder.ws_client.subscribe(payload)\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Fyers Api Builder",
    "version": "0.3.8",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "991b42e0a98cca77c827b662d54bed5540535526fa17bcc5b9582c8049b5f709",
                "md5": "c76efe3b095364e347c89265954c6e99",
                "sha256": "8b7d1e09056af52d2af60e4840b00062f70cd8c770eec80e401f921fe8357598"
            },
            "downloads": -1,
            "filename": "fyers_api_builder-0.3.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c76efe3b095364e347c89265954c6e99",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5458,
            "upload_time": "2023-01-22T03:25:55",
            "upload_time_iso_8601": "2023-01-22T03:25:55.037248Z",
            "url": "https://files.pythonhosted.org/packages/99/1b/42e0a98cca77c827b662d54bed5540535526fa17bcc5b9582c8049b5f709/fyers_api_builder-0.3.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "695b4f64d403b22c5bda61996de9452214eda0a1c3a8677f1e3f4fd908eb30ce",
                "md5": "eb85babfc839f475924569e476e9813f",
                "sha256": "5720c67b4a0eff5ba87034af72941c99d3d5ba43952814702818b2f29ed36417"
            },
            "downloads": -1,
            "filename": "fyers-api-builder-0.3.8.tar.gz",
            "has_sig": false,
            "md5_digest": "eb85babfc839f475924569e476e9813f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4211,
            "upload_time": "2023-01-22T03:25:57",
            "upload_time_iso_8601": "2023-01-22T03:25:57.051493Z",
            "url": "https://files.pythonhosted.org/packages/69/5b/4f64d403b22c5bda61996de9452214eda0a1c3a8677f1e3f4fd908eb30ce/fyers-api-builder-0.3.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-22 03:25:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "krunaldodiya",
    "github_project": "fyers-api-builder",
    "lcname": "fyers-api-builder"
}
        
Elapsed time: 0.03793s