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
import asyncio
from fortnitepy.ext import commands
async def main():
bot = commands.Bot(
command_prefix='!',
auth=fortnitepy.DeviceCodeAuth()
)
@bot.event
async def event_ready():
print('----------------')
print('Bot ready as')
print(bot.user.display_name)
print('----------------')
@bot.event
async def event_friend_request(request):
await request.accept()
@bot.command()
async def hello(ctx):
await ctx.send('Hello!')
await bot.start()
if __name__ == "__main__":
asyncio.run(main())
Metadata
Release files for fortnitepy-edit 1.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fortnitepy_edit-1.1.6.tar.gz | 156.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fortnitepy_edit-1.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 339.7 kB
Release files / fortnitepy_edit-1.1.6.tar.gz
| Download URL | fortnitepy_edit-1.1.6.tar.gz |
|---|---|
| Size | 156.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f6c2ac868ef3d4641248864c757ae36d07153c2993971e5ce86b4b874afa1e7
|
|
BLAKE2b-256 checksum How to use checksums |
c0e6e902ef341eb1d4a76e00ce0da8f9a0bb08736c444b9d701a51f8a85fb474
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.12.7
|
Release files / fortnitepy_edit-1.1.6-py3-none-any.whl
| Download URL | fortnitepy_edit-1.1.6-py3-none-any.whl |
|---|---|
| Size | 182.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e86b7f31a8d29b1399b65e814a49d11f7da085b955ba273940a30daf24712e5
|
|
BLAKE2b-256 checksum How to use checksums |
17fdc3ed00529e7c5a97f31fd9ac0dcf63b7ddc155108ac3d5bb089869566813
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.12.7
|