{ "info": { "author": "Wojciech Szlachta", "author_email": "wojciech@szlachta.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: ISC License (ISCL)", "Programming Language :: Python :: 3", "Topic :: Office/Business :: Financial" ], "description": "# IG REST trading API client\n\nSmall Python library to connect to [IG](https://www.ig.com/) REST trading API (more information and API reference is available on [IG Labs](https://labs.ig.com/) website).\n\n## Installation\n\nTo use most recent release:\n\n```bash\npip install ig-rest-client\n```\n\nTo use current master branch:\n\n```bash\npip install git+https://github.com/wjszlachta/ig-rest-client.git\n```\n\n## Usage\n\nFor demo account:\n\n```python\nfrom ig_rest_client import IgRestSession\n\napi_key = '...'\naccount_id = '...'\nrest_api_username = '...'\nrest_api_password = '...'\n\nsession = IgRestSession(api_key, account_id, rest_api_username, rest_api_password)\n\nprint(session.session_details())\n\nsession.log_out()\n```\n\nFor live account:\n\n```python\nfrom ig_rest_client import IgRestSession, IG_REST_TRADING_API_LIVE_URL\n\napi_key = '...'\naccount_id = '...'\nrest_api_username = '...'\nrest_api_password = '...'\n\nsession = IgRestSession(api_key, account_id, rest_api_username, rest_api_password, rest_api_url=IG_REST_TRADING_API_LIVE_URL)\n\nprint(session.session_details())\n\nsession.log_out()\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/wjszlachta/ig-rest-client", "keywords": "IG trading", "license": "", "maintainer": "", "maintainer_email": "", "name": "ig-rest-client", "package_url": "https://pypi.org/project/ig-rest-client/", "platform": "", "project_url": "https://pypi.org/project/ig-rest-client/", "project_urls": { "Bug Reports": "https://github.com/wjszlachta/ig-rest-client/issues", "Homepage": "https://github.com/wjszlachta/ig-rest-client", "Source": "https://github.com/wjszlachta/ig-rest-client" }, "release_url": "https://pypi.org/project/ig-rest-client/0.1/", "requires_dist": [ "requests" ], "requires_python": "", "summary": "IG REST trading API client", "version": "0.1" }, "last_serial": 4617860, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "c76eed5e75740d80e78cc96a9d3a3b4a", "sha256": "cea613f3d390d9e97a30246bed56ba95f0cac2619d21e8101101d7e09da62077" }, "downloads": -1, "filename": "ig_rest_client-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c76eed5e75740d80e78cc96a9d3a3b4a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4595, "upload_time": "2018-12-19T18:50:26", "url": "https://files.pythonhosted.org/packages/89/7b/38143d76a22931c7b31a37437064d356306ccb9acde6415a5d768cd47165/ig_rest_client-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d4ecee1d5d169bf767e3fd8bf40ab852", "sha256": "9e884aa19deb44f18b4c8ba5f45ac7f50cfba69935315f82aee9c337540b79d8" }, "downloads": -1, "filename": "ig-rest-client-0.1.tar.gz", "has_sig": false, "md5_digest": "d4ecee1d5d169bf767e3fd8bf40ab852", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4318, "upload_time": "2018-12-19T18:50:28", "url": "https://files.pythonhosted.org/packages/9a/eb/5dd00baf4e9e0f9fead3cd9c8bac020770ed73a97eace9be58cd3579b4ba/ig-rest-client-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c76eed5e75740d80e78cc96a9d3a3b4a", "sha256": "cea613f3d390d9e97a30246bed56ba95f0cac2619d21e8101101d7e09da62077" }, "downloads": -1, "filename": "ig_rest_client-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c76eed5e75740d80e78cc96a9d3a3b4a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4595, "upload_time": "2018-12-19T18:50:26", "url": "https://files.pythonhosted.org/packages/89/7b/38143d76a22931c7b31a37437064d356306ccb9acde6415a5d768cd47165/ig_rest_client-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d4ecee1d5d169bf767e3fd8bf40ab852", "sha256": "9e884aa19deb44f18b4c8ba5f45ac7f50cfba69935315f82aee9c337540b79d8" }, "downloads": -1, "filename": "ig-rest-client-0.1.tar.gz", "has_sig": false, "md5_digest": "d4ecee1d5d169bf767e3fd8bf40ab852", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4318, "upload_time": "2018-12-19T18:50:28", "url": "https://files.pythonhosted.org/packages/9a/eb/5dd00baf4e9e0f9fead3cd9c8bac020770ed73a97eace9be58cd3579b4ba/ig-rest-client-0.1.tar.gz" } ] }