{"id":15655419,"url":"https://github.com/torxed/python-fortnite","last_synced_at":"2025-10-05T09:41:49.336Z","repository":{"id":105086023,"uuid":"137485532","full_name":"Torxed/python-fortnite","owner":"Torxed","description":"A python lib to access the Fortnite API (No game-client token required)","archived":false,"fork":false,"pushed_at":"2022-09-11T17:04:41.000Z","size":33,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-05T09:41:46.839Z","etag":null,"topics":["2fa","2fa-support","api","fortnite","fortnite-api","native-python","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Torxed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-15T12:33:19.000Z","updated_at":"2023-12-03T21:17:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"82fc35ae-7f00-46df-a2ad-8ab187c51ffb","html_url":"https://github.com/Torxed/python-fortnite","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Torxed/python-fortnite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torxed%2Fpython-fortnite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torxed%2Fpython-fortnite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torxed%2Fpython-fortnite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torxed%2Fpython-fortnite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Torxed","download_url":"https://codeload.github.com/Torxed/python-fortnite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torxed%2Fpython-fortnite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278437956,"owners_count":25986760,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2fa","2fa-support","api","fortnite","fortnite-api","native-python","python"],"created_at":"2024-10-03T12:59:08.287Z","updated_at":"2025-10-05T09:41:49.319Z","avatar_url":"https://github.com/Torxed.png","language":"Python","readme":"# python-fortnite\n\n![python](https://img.shields.io/badge/python-3.X-blue.svg) ![Fortnite](https://img.shields.io/badge/Fortnite-v10.2.3-orange.svg)\n\nA python lib to access the Fortnite API, supports 2FA and requires no reversing/SSL stripper.\n\n# Requirements:\n\n * Linux *(due to the efficiency of [epoll](https://docs.python.org/3/library/select.html#select.epoll). Can change this if need arises)*\n * Python3+\n\nNo external libraries are used.\n\n# Example:\n\n\u003e If you're using a new account, `EULA_ACCEPTED` needs to be `False` the first time you use the account.\n\u003e This in order for the client to *\"accept\"* the EULA which ultimately unlocks access to Fortnite API.\n\u003e Otherwise, the account will get rejected from quering the API *(most likely)*.\n\n```python\nfrom fortnite import *\nclient = Fortnite('henric@fnite.se', 'Password to account', EULA_ACCEPTED=True)\n\n# YOUR OWN ID: client.logged_in_as\n\n# Here's how to get other peoples information:\ninfo = client.get_profile(\"0b0b6459d65f4665b16c9d9f520a5354\")\nprint(info)\n```\n\n\u003e The client automatically logs in, and gets ready to query for stats etc.\n\u003e `Fortnite()` caches the **2FA** verification during the scripts lifetime, but restarts require a new 2FA verification.\n\nFor a [asyncio](https://docs.python.org/3/library/asyncio.html) version that has more features, have a look at [fortnitepy](https://github.com/Terbau/fortnitepy)\n\n# Docs\n\n    Fortnite(username, password, EULA_ACCEPTED=False) - Main class, logs in to Epic Games and authenticates Fortnite access.\n\n    Fortnite.get_stats(epic_id) - V2 of Fortnite stats. Gets season stats, not per-game stats (like most other libraries)\n\n    Fortnite.get_profile(epic_id) - Get user information (displayName etc.)\n\n    Fortnite.get_friends() - Get friends of the logged in account.\n\n    Fortnite.get_public_stats(epic_id) - Get minimal informational stats of the account.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorxed%2Fpython-fortnite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorxed%2Fpython-fortnite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorxed%2Fpython-fortnite/lists"}