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.

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-1.0.0.tar.gz (170.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-1.0.0-py3-none-any.whl (197.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for rebootpy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6edfae93628c0ef5653b62d211c4eb3b012b1324fe5630da8fb6f7928997a2fe
MD5 9b0ba535dbc89db16b1b137a9f1f4535
BLAKE2b-256 2f54c7c2752fd4cfa617618b965c4b31e695a092bd192a83e4f11eaec5db55a9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for rebootpy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca018356c7cc199a2f8400c8406b99cbdcaf8e67e0039b534840e80595afea90
MD5 c5d58c428cd897e963b9e218905be481
BLAKE2b-256 f8ede7ee1e3e52e3462acf669e18e89d7bfbaa62a5f6f0579c31085eeeba3cd5

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