Metadata-Version: 2.1
Name: fortnitepy-edit
Version: 1.1.5
Summary: Library for interacting with fortnite services
Author: klld
License: MIT
Project-URL: Documentation, https://fortnitepy.readthedocs.io/en/latest/
Project-URL: Issue tracker, https://github.com/klldtest/fortnitepy-edit/Issue
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Requires-Python: >=3.5.3
Description-Content-Type: text/markdown
Requires-Dist: aiohttp>=3.3
Requires-Dist: aioxmpp>=0.10.4
Requires-Dist: aioconsole>=0.1.15
Requires-Dist: pytz
Provides-Extra: docs
Requires-Dist: sphinxcontrib_trio==1.1.0; extra == "docs"

 # fortnitepy-edit

[![Supported py versions](https://img.shields.io/pypi/pyversions/fortnitepy-edit.svg)](https://pypi.org/project/fortnitepy-edit/)
[![Current pypi version](https://img.shields.io/pypi/v/fortnitepy-edit.svg)](https://pypi.org/project/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
```py
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())
```
