Skip to main content

Library for interacting with fortnite services

Project description

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. (currently broken on all libraries due to signing algorithm not being reversed yet)

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rebootpy-0.9.6.tar.gz (167.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rebootpy-0.9.6-py3-none-any.whl (194.1 kB view details)

Uploaded Python 3

File details

Details for the file rebootpy-0.9.6.tar.gz.

File metadata

  • Download URL: rebootpy-0.9.6.tar.gz
  • Upload date:
  • Size: 167.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for rebootpy-0.9.6.tar.gz
Algorithm Hash digest
SHA256 09daa30137f20b0bfe6c1c4f2dc47463743c8205b9364c96340ea4d7525001ab
MD5 a258622e435f80f3c7b6fb196e349057
BLAKE2b-256 c14141b77e88a9695e67ddce82a0c5f643e75ddfc6c4b9cc4f1914065f2a14f5

See more details on using hashes here.

File details

Details for the file rebootpy-0.9.6-py3-none-any.whl.

File metadata

  • Download URL: rebootpy-0.9.6-py3-none-any.whl
  • Upload date:
  • Size: 194.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for rebootpy-0.9.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e555b4f7d589f088c1133a7d1bb30978425ccbd09cff6717eeb50347828133da
MD5 65db980a3d1eaa0ee6fa213ad946f20c
BLAKE2b-256 cdf6019d488a70f102533d5ebe5a4096dc25f8cf211aa5d624812b8880aca139

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page