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
rebootpy-1.1.0.tar.gz 171.4 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.3

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.9.7

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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