Library for interacting with fortnite services
Project description
fortnitepy-edit
Asynchronous library for interacting with Fortnite and EpicGames' API and XMPP services.
Note: This library is still under developement so breaking changes might happen at any time.
Some key features:
- Full support for Friends.
- Support for XMPP events including friend and party messages + many more.
- Support for Parties.
- Support for Battle Royale stats.
Documentation
https://fortnitepy.readthedocs.io/en/latest/
Installing
# windows
py -3 -m pip install -U git+https://github.com/klldtest/fortnitepy-edit
py -3 -m pip install -U fortnitepy-edit
# linux
python3 -m pip install -U git+https://github.com/klldtest/fortnitepy-edit
python3 -m pip install -U fortnitepy-edit
Basic usage
import fortnitepy
from fortnitepy.ext import commands
bot = commands.Bot(
command_prefix='!',
auth=fortnitepy.DeviceCodeAuth()
)
@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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fortnitepy-edit-1.1.4.tar.gz
(157.0 kB
view details)
Built Distribution
File details
Details for the file fortnitepy-edit-1.1.4.tar.gz
.
File metadata
- Download URL: fortnitepy-edit-1.1.4.tar.gz
- Upload date:
- Size: 157.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1492c4c7953d6cb6a729b98d393c990806fe4b0d21127b1450a78ebff686c20c |
|
MD5 | 03784412830372f9cb9c54cf0dec648a |
|
BLAKE2b-256 | 0cd38ca055a0ed8a5ba06efb1d20ee07595d6b220384353779f8d1de8bba6f52 |
File details
Details for the file fortnitepy_edit-1.1.4-py3-none-any.whl
.
File metadata
- Download URL: fortnitepy_edit-1.1.4-py3-none-any.whl
- Upload date:
- Size: 182.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff8b20c8a4952fbfd76f4f7736713aeee1bc45ee8a7d6fd1b2d26e755b8be183 |
|
MD5 | ae14ccc4aa413624eb315c1e68fcba0d |
|
BLAKE2b-256 | 352ed19b1cf9c5326365f41f1f6a826dbcf0435d02203e9322b0819a1ed4c442 |