Skip to main content

rebootpy

Supported py versions Current pypi version Donate link

Asynchronous library for interacting with Fortnite and EpicGames' API and XMPP services.

This library is a fork of Terbau's fortnitepy which was abandoned.
If you want to check out the original commit history, you can view it here.

Note: This library is still under development so breaking changes might happen at any time.

Some key features:

  • Full support for Friends.
  • Support for XMPP events.
  • Support for Parties.
  • Support for Battle Royale stats.
  • Support for friend & party messages.

Documentation

https://rebootpy.readthedocs.io/en/latest/

Installing

# windows
py -3 -m pip install -U rebootpy

# linux
python3 -m pip install -U rebootpy

Basic usage

import rebootpy

from rebootpy.ext import commands

bot = commands.Bot(
    command_prefix='!',
    auth=rebootpy.AuthorizationCodeAuth()
)

@bot.event
async def event_ready():
    print(f'Bot ready as {bot.user.display_name} ({bot.user.id})')

@bot.event
async def event_friend_request(request):
    await request.accept()

@bot.command()
async def hello(ctx):
    await ctx.send('Hello!')

bot.run()

Authorization Code

How to get a one time authorization code:

  1. Log into the epic games account of your choice here.
  2. Copy the value of the authorizationCode field from the response as shown in the image below:

Authorization Code

Keep in mind that authorization code isn't the only method of authentication, you can view all of them here, DeviceAuth is recommended once you've generated device auths.

Credit

Thanks to Kysune, iXyles, Vrekt, amrsatrio and This Nils for ideas and/or work that this library is built upon.

Need help?

If you need more help feel free to join this discord server.

Metadata

Release files for rebootpy 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rebootpy 1.1.0
File Size Uploaded Provenance Actions
rebootpy-1.1.0.tar.gz 171.4 kB Without provenance Details for rebootpy-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rebootpy 1.1.0
File Interpreter ABI Platform Actions
rebootpy-1.1.0-py3-none-any.whl Python 3 none any Details for rebootpy-1.1.0-py3-none-any.whl

Total release size: 369.8 kB

Release files / rebootpy-1.1.0.tar.gz

Download URL rebootpy-1.1.0.tar.gz
Size 171.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cbda09ef2d77a161abaa19bdf424a68f38a3f237cad7e279775e0afce09f5e41
BLAKE2b-256 checksum
How to use checksums
ef0eed7762ed697dc4ea77da03f0cb2357cdafc4df589ef2eb2a7bff1cbdc639
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / rebootpy-1.1.0-py3-none-any.whl

Download URL rebootpy-1.1.0-py3-none-any.whl
Size 198.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6adfd9992b8588925582e99279e88d11a16b69930ea8e2aec9ad1fa8f23bd100
BLAKE2b-256 checksum
How to use checksums
d76f6c9073c1e6796bb004a7b064068ce93d872fddd9169ca34f32ec42feec51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Security for rebootpy 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page