{ "info": { "author": "Xavier Codinas", "author_email": "xavier19966@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Topic :: Utilities" ], "description": "[![Build Status](https://travis-ci.org/xcodinas/fortnite-python.svg?branch=master)](https://travis-ci.org/xcodinas/fortnite-python)\n[![PyPI version](https://badge.fury.io/py/fortnite-python.svg)](https://badge.fury.io/py/fortnite-python)\n[![Requirements Status](https://requires.io/github/xcodinas/fortnite-python/requirements.svg?branch=master)](https://requires.io/github/xcodinas/fortnite-python/requirements/?branch=master)\n\n# fortnite-python\nPython wrapper for http://fortnitetracker.com/ api.\n\n## Installation\n\nYou can install it via pip\n\n```\npip install fortnite-python\n```\n\n\n## Usage\n\nYou need to register for an api key at https://fortnitetracker.com/site-api\n\nThen it's just easy as:\n\n```\nfrom fortnite_python import Fortnite\n\nfortnite = Fortnite('Given api key')\n```\n\n\n#### Retrieving a player:\n\n```\n>>> from fortnite_python import Fortnite\n\n>>> fortnite = Fortnite('Given api key')\n>>> player = fortnite.player('playername')\nplayer\n\n\n```\n\nThe default platform is PC, if you want to use a diferent platform you should\ndo it this way:\n\n```\n>>> from fortnite_python import Fortnite\n>>> from fortnite_python.domain import Platform\n\n>>> fortnite = Fortnite('Given api key')\n>>> player = fortnite.player('playername', Platform.XBOX)\n>>> player\n\n```\n\nYou can check the available platforms [here](https://github.com/xcodinas/fortnite-python/blob/master/fortnite_python/domain.py#L4)\n\n\n#### Retrieving player stats:\n\n\n```\n>>> from fortnite_python import Fortnite\n>>> from fortnite_python.domain import Mode\n\n>>> fortnite = Fortnite('Given api key')\n>>> player = fortnite.player('playername')\n>>> stats = player.get_stats(Mode.DUO)\n>>> stats.top1\n'10'\n>>> stats.top3\n'20'\n```\n\nYou can check the available modes [here](https://github.com/xcodinas/fortnite-python/blob/master/fortnite_python/domain.py#L10)\n\n\n#### Getting matches data:\n\nWhen calling matches you have to pass the player id and the number of matches\nyou want (from 1 to 50)\n\n```\n>>> player = fortnite.player('playername')\n\n\n>>> fortnite.matches(player.id, 5)\n[, , , ,\n ]\n```\n\n\n#### Retrieving the current Challenges:\n\n```\n>>> from fortnite_python import Fortnite\n\n>>> fortnite = Fortnite('Given api key')\n>>> challenges = fortnite.challenges()\n>>> print (challenges)\n[, , , , , , ]\n>>> challenges[0].name\nVisit all of the Corrupted Areas\n>>> challenges[0].reward_picture_url\nhttps://cdn.thetrackernetwork.com/cdn/trackernetwork/63D2upload.png\n```\n\n#### Retrieving the current Fortnite store:\n\n```\n>>> from fortnite_python import Fortnite\n\n>>> fortnite = Fortnite('Given api key')\n>>> store = fortnite.store()\n>>> fortnite.store()\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/xcodinas/fortnite-python", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "fortnite-python", "package_url": "https://pypi.org/project/fortnite-python/", "platform": "", "project_url": "https://pypi.org/project/fortnite-python/", "project_urls": { "Homepage": "https://github.com/xcodinas/fortnite-python" }, "release_url": "https://pypi.org/project/fortnite-python/0.3.5/", "requires_dist": null, "requires_python": "", "summary": "Python wrapper for http://fortnitetracker.com/ api.", "version": "0.3.5" }, "last_serial": 5918209, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "43f534b5463a185029806f865399df79", "sha256": "960e74e8a7da2112c40064c23a5dc0fa03cc9f96de88b262cd8409ff6794c670" }, "downloads": -1, "filename": "fortnite-python-0.2.0.tar.gz", "has_sig": false, "md5_digest": "43f534b5463a185029806f865399df79", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3298, "upload_time": "2018-04-05T15:44:14", "url": "https://files.pythonhosted.org/packages/5a/7f/b62f1620d11af43ca9c4a5cfe34df2660597567e4fcde63d2eb518920930/fortnite-python-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "0d814296cbdc70930c8a9630ad8ecce1", "sha256": "b9d7ff6ab6b0981fd714a53400cebc7e429e24ad03a17691399d24330b3a94b0" }, "downloads": -1, "filename": "fortnite-python-0.2.1.tar.gz", "has_sig": false, "md5_digest": "0d814296cbdc70930c8a9630ad8ecce1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3274, "upload_time": "2018-04-06T07:36:35", "url": "https://files.pythonhosted.org/packages/a3/95/75b5c7f78765a54911353f12027151bfd3dca2bac1e2fefb135f4a5a4fad/fortnite-python-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "c0ab7ac3d31d39b974341b796f6b4cd3", "sha256": "ba81f77005974b2c90486474b2659fb05201fed1da4a20ee2fc9c00b6723deac" }, "downloads": -1, "filename": "fortnite-python-0.2.2.tar.gz", "has_sig": false, "md5_digest": "c0ab7ac3d31d39b974341b796f6b4cd3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3278, "upload_time": "2018-04-06T07:39:54", "url": "https://files.pythonhosted.org/packages/70/ee/ffcefdd7d0256e01342d1a9e8f76b29ea115689464490d02ead0fb51a2b8/fortnite-python-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "0705aa942cdae7a9b06d17de1b9b0b79", "sha256": "61084624d29ccf71171e7e54446819bd26b5e4d49a59933187ff4a26f7e69006" }, "downloads": -1, "filename": "fortnite-python-0.2.3.tar.gz", "has_sig": false, "md5_digest": "0705aa942cdae7a9b06d17de1b9b0b79", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3286, "upload_time": "2018-04-06T08:55:56", "url": "https://files.pythonhosted.org/packages/a6/98/007a7af8da59d8af52a9fe0995599955434cdda8e0d9fb1809392634a36a/fortnite-python-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "1ab65ab4e4a61d17f0b68f3785ead1b4", "sha256": "d8f7af004803be07e26f48f0d712ddabfa8483f3e34918e73b62d01025ee6788" }, "downloads": -1, "filename": "fortnite-python-0.2.4.tar.gz", "has_sig": false, "md5_digest": "1ab65ab4e4a61d17f0b68f3785ead1b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3302, "upload_time": "2018-04-18T10:20:54", "url": "https://files.pythonhosted.org/packages/e7/4c/f49c3f48ac1a18742d6ad5006441a6ea5b35efeed1fffb823fac54af007f/fortnite-python-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "308271d13aadb228bd73efdcf0e18e9b", "sha256": "9c062a47f6c3e42754e64b27f6f649f65b1439a6c9a4ce0f072c1b14a14e265f" }, "downloads": -1, "filename": "fortnite-python-0.2.5.tar.gz", "has_sig": false, "md5_digest": "308271d13aadb228bd73efdcf0e18e9b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3305, "upload_time": "2018-04-18T10:22:07", "url": "https://files.pythonhosted.org/packages/2a/ea/e1b0a5c966ee540d600dc97603464f42826987fe112ac3fb36e99b668fdb/fortnite-python-0.2.5.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "45589a2008e596d650c2b8a6c8ec3325", "sha256": "50adfc31e03e6ad8e8ef29bd6b2838937e87ce26c62fbde94a9ee3e96224caa0" }, "downloads": -1, "filename": "fortnite_python-0.3.3-py3-none-any.whl", "has_sig": false, "md5_digest": "45589a2008e596d650c2b8a6c8ec3325", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5624, "upload_time": "2018-10-05T14:29:59", "url": "https://files.pythonhosted.org/packages/a5/27/87777840b929ca5b241a3ecabecdb692eb8d5f14ec2b4839eab300d42208/fortnite_python-0.3.3-py3-none-any.whl" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "a6c5c852fb42ef95bcb2295bc4f03efa", "sha256": "ae46a88a8ada3d0de3208e88f56a9ac87eb80af3701c08724ca42d599bf4d7a9" }, "downloads": -1, "filename": "fortnite-python-0.3.4.tar.gz", "has_sig": false, "md5_digest": "a6c5c852fb42ef95bcb2295bc4f03efa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4701, "upload_time": "2019-07-11T08:29:14", "url": "https://files.pythonhosted.org/packages/93/1c/24cc572f670cf1cebae0d8c355c379f485b40a888bd2ea8dfa6dfdcda2a3/fortnite-python-0.3.4.tar.gz" } ], "0.3.5": [ { "comment_text": "", "digests": { "md5": "fdb9cc1c97bc9f171134c106cef94d07", "sha256": "1eae14b0138b04a43849f8ee1553083540d985e7f492a310c52e02c99ffa9cd5" }, "downloads": -1, "filename": "fortnite-python-0.3.5.tar.gz", "has_sig": false, "md5_digest": "fdb9cc1c97bc9f171134c106cef94d07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4742, "upload_time": "2019-10-02T14:29:27", "url": "https://files.pythonhosted.org/packages/39/16/71511a3d475f76edc165c38805ce3c17e710f4f963762602a2dc8ce97e4f/fortnite-python-0.3.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fdb9cc1c97bc9f171134c106cef94d07", "sha256": "1eae14b0138b04a43849f8ee1553083540d985e7f492a310c52e02c99ffa9cd5" }, "downloads": -1, "filename": "fortnite-python-0.3.5.tar.gz", "has_sig": false, "md5_digest": "fdb9cc1c97bc9f171134c106cef94d07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4742, "upload_time": "2019-10-02T14:29:27", "url": "https://files.pythonhosted.org/packages/39/16/71511a3d475f76edc165c38805ce3c17e710f4f963762602a2dc8ce97e4f/fortnite-python-0.3.5.tar.gz" } ] }