{ "info": { "author": "Ravindra Marella", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Guild Wars 2 API client for Python.\n\n## Installation\n\n```sh\npip install gw2\n```\n\nIt is recommended to use a [virtual environment].\n\n## Usage\n\n```py\nimport gw2\n\nclient = gw2.Client()\n\nclient.get('achievements/daily')\n\nclient.get('achievements', ids=[1, 2]) # pass query parameters as keyword arguments\n\nclient.auth('YOUR-API-KEY') # set api key for authenticated endpoints\n\nclient.get('account')\n```\n\nTo handle error responses:\n\n```py\ntry:\n client.get('...')\nexcept gw2.HTTPError as e:\n print(e.response.status_code, e.response.json())\n```\n\n## License\n\n[MIT][license]\n\n[license]: /LICENSE\n[virtual environment]: https://docs.python.org/3/library/venv.html", "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/marella/python-gw2", "keywords": "gw2 guild-wars-2 api client", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "gw2", "package_url": "https://pypi.org/project/gw2/", "platform": "", "project_url": "https://pypi.org/project/gw2/", "project_urls": { "Bug Tracker": "https://github.com/marella/python-gw2/issues", "Documentation": "https://marella.github.io/python-gw2/", "Homepage": "https://github.com/marella/python-gw2", "Source Code": "https://github.com/marella/python-gw2" }, "release_url": "https://pypi.org/project/gw2/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "Guild Wars 2 API client for Python.", "version": "0.0.2" }, "last_serial": 4650838, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "c6e40690b86703eb196c643df695b167", "sha256": "1332049c05e41df930a9e2100c9cbf162f9436b0726ca1b99d941eb8e9ee427e" }, "downloads": -1, "filename": "gw2-0.0.0.tar.gz", "has_sig": false, "md5_digest": "c6e40690b86703eb196c643df695b167", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1989, "upload_time": "2018-12-31T06:57:56", "url": "https://files.pythonhosted.org/packages/1d/10/067c482312de1e42565bf92c9d40ed068a586834506f5293a7a2b60b0879/gw2-0.0.0.tar.gz" } ], "0.0.1": [ { "comment_text": "", "digests": { "md5": "439da4c4644abfc176092aa449441e69", "sha256": "fd25de34ba08752b1f8eea422296d23d8e428d59ea7b8db5d0048f9111e5dd33" }, "downloads": -1, "filename": "gw2-0.0.1.tar.gz", "has_sig": false, "md5_digest": "439da4c4644abfc176092aa449441e69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1989, "upload_time": "2018-12-31T13:56:19", "url": "https://files.pythonhosted.org/packages/41/e7/c15420540b396568b9a5daabd5e57c11c8fc8117d290ee8a172da868b3f2/gw2-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "d0fdab076161fd83ff2f62939a84cf0e", "sha256": "365bd402102af3b72572db0b117c290955fcff30067bbd486ebe8680ab3a697d" }, "downloads": -1, "filename": "gw2-0.0.2.tar.gz", "has_sig": false, "md5_digest": "d0fdab076161fd83ff2f62939a84cf0e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2267, "upload_time": "2019-01-01T18:58:10", "url": "https://files.pythonhosted.org/packages/77/7c/a155e4047b3361765a1c56c104c1593cebe9302ee5fe0f6390ef2b441a1d/gw2-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d0fdab076161fd83ff2f62939a84cf0e", "sha256": "365bd402102af3b72572db0b117c290955fcff30067bbd486ebe8680ab3a697d" }, "downloads": -1, "filename": "gw2-0.0.2.tar.gz", "has_sig": false, "md5_digest": "d0fdab076161fd83ff2f62939a84cf0e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2267, "upload_time": "2019-01-01T18:58:10", "url": "https://files.pythonhosted.org/packages/77/7c/a155e4047b3361765a1c56c104c1593cebe9302ee5fe0f6390ef2b441a1d/gw2-0.0.2.tar.gz" } ] }