rebootpy
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:
- Log into the epic games account of your choice here.
- Copy the value of the
authorizationCodefield from the response as shown in the image below:
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)
| File | Size | Uploaded | |
|---|---|---|---|
| rebootpy-1.1.0.tar.gz | 171.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|